mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Add null check for nullable dependency
This commit is contained in:
@ -261,7 +261,7 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
if (!this.IsCurrentScreen()) return;
|
||||
|
||||
player.Restart();
|
||||
player?.Restart();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user