1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 01:00:27 +08:00

Share !HasPassed condition

This commit is contained in:
Bartłomiej Dach
2023-10-27 13:27:48 +02:00
Unverified
parent 3944b045ed
commit 2d5b1711f6
+3 -3
View File
@@ -1110,12 +1110,12 @@ namespace osu.Game.Screens.Play
failAnimationContainer?.Stop();
PauseOverlay?.StopAllSamples();
if (LoadedBeatmapSuccessfully)
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
{
if (!GameplayState.HasPassed && !GameplayState.HasFailed)
if (!GameplayState.HasFailed)
GameplayState.HasQuit = true;
if (!GameplayState.HasPassed && DrawableRuleset.ReplayScore == null)
if (DrawableRuleset.ReplayScore == null)
ScoreProcessor.FailScore(Score.ScoreInfo);
}