mirror of
https://github.com/ppy/osu.git
synced 2026-06-08 01:33:38 +08:00
Add null check for nullable dependency
This commit is contained in:
committed by
GitHub
Unverified
parent
156d0ae9b9
commit
5be7d439ae
@@ -261,7 +261,7 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
if (!this.IsCurrentScreen()) return;
|
||||
|
||||
player.Restart();
|
||||
player?.Restart();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user