1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 03:45:09 +08:00

Merge pull request #11448 from bdach/fix-editor-enter-crash

Fix editor crashing on enter if login overlay was previously opened
This commit is contained in:
Dean Herbert
2021-01-10 12:59:47 +09:00
committed by GitHub
Unverified
+4
View File
@@ -143,7 +143,11 @@ namespace osu.Game.Screens
private void load(OsuGame osu, AudioManager audio)
{
sampleExit = audio.Samples.Get(@"UI/screen-back");
}
protected override void LoadComplete()
{
base.LoadComplete();
Activity.Value ??= InitialActivity;
}