mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 02:32:59 +08:00
Handle the null case
This commit is contained in:
parent
87da7b05a6
commit
626048038c
@ -111,7 +111,7 @@ namespace osu.Game.Screens.Menu
|
||||
this.game = game;
|
||||
|
||||
isIdle.ValueChanged += updateIdleState;
|
||||
isIdle.BindTo(idleTracker.IsIdle);
|
||||
if (idleTracker != null) isIdle.BindTo(idleTracker.IsIdle);
|
||||
|
||||
sampleBack = audio.Sample.Get(@"Menu/button-back-select");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user