1
0
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:
Dean Herbert 2021-08-11 16:59:42 +09:00
parent ee3b373e8a
commit 3f067e3a8d

View File

@ -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.