mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 11:47:18 +08:00
Remove likely unnecessary score null check
This commit is contained in:
parent
ee3b373e8a
commit
3f067e3a8d
@ -962,7 +962,7 @@ namespace osu.Game.Screens.Play
|
||||
screenSuspension?.Expire();
|
||||
|
||||
// if arriving here and the results screen preparation task hasn't run, it's safe to say the user has not completed the beatmap.
|
||||
if (Score != null && prepareScoreForDisplayTask == null)
|
||||
if (prepareScoreForDisplayTask == null)
|
||||
{
|
||||
Score.ScoreInfo.Passed = false;
|
||||
// potentially should be ScoreRank.F instead? this is the best alternative for now.
|
||||
|
Loading…
x
Reference in New Issue
Block a user