mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 21:40:34 +08:00
Skip updating window title in headless mode
This commit is contained in:
parent
14b5c0bf10
commit
8ce6003a3e
@ -829,6 +829,9 @@ namespace osu.Game
|
||||
beatmap.OldValue?.CancelAsyncLoad();
|
||||
beatmap.NewValue?.BeginAsyncLoad();
|
||||
|
||||
if (Host.Window == null)
|
||||
return;
|
||||
|
||||
// prevent weird window title saying please load a beatmap
|
||||
string newTitle = Name;
|
||||
if (beatmap.NewValue != null && beatmap.NewValue is not DummyWorkingBeatmap)
|
||||
|
Loading…
x
Reference in New Issue
Block a user