mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Handle the null case
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user