mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Ensure Player
does not fail a score on exit if a replay is currently loaded
This commit is contained in:
parent
a81408ca06
commit
3b62f87b64
@ -1111,7 +1111,7 @@ namespace osu.Game.Screens.Play
|
||||
GameplayState.HasQuit = true;
|
||||
|
||||
// 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 (prepareScoreForDisplayTask == null)
|
||||
if (prepareScoreForDisplayTask == null && DrawableRuleset.ReplayScore == null)
|
||||
ScoreProcessor.FailScore(Score.ScoreInfo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user