mirror of
https://github.com/ppy/osu
synced 2025-03-18 17:15:28 +00:00
Share !HasPassed
condition
This commit is contained in:
parent
3944b045ed
commit
2d5b1711f6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user