mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09:00
Fix possible game nullref
This commit is contained in:
parent
60c0428979
commit
5c741eaa89
@ -266,7 +266,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
if (game.IdleTime > 6000 && State != ButtonSystemState.Exit)
|
if (game?.IdleTime > 6000 && State != ButtonSystemState.Exit)
|
||||||
State = ButtonSystemState.Initial;
|
State = ButtonSystemState.Initial;
|
||||||
|
|
||||||
base.Update();
|
base.Update();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user