1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 02:31:18 +08:00

Skip updating window title for protected mapsets

This commit is contained in:
Zihad
2025-03-05 22:47:39 +06:00
Unverified
parent 4ae5f239cb
commit d33a8dfc3b
+1 -1
View File
@@ -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;