mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 02:39:52 +08:00
Skip updating window title for protected mapsets
This commit is contained in:
+1
-1
@@ -833,7 +833,7 @@ namespace osu.Game
|
||||
return;
|
||||
|
||||
string newTitle = Name;
|
||||
if (beatmap.NewValue != null && beatmap.NewValue is not DummyWorkingBeatmap)
|
||||
if (beatmap.NewValue?.BeatmapSetInfo?.Protected == false && beatmap.NewValue is not DummyWorkingBeatmap)
|
||||
newTitle = $"{Name} - {beatmap.NewValue.BeatmapInfo.GetDisplayTitleRomanisable(true, false)}";
|
||||
|
||||
Host.Window.Title = newTitle;
|
||||
|
||||
Reference in New Issue
Block a user