mirror of
https://github.com/ppy/osu
synced 2025-01-02 20:32:10 +00:00
Change failed states to be considered as NotPlaying
This commit is contained in:
parent
ecf144f4a5
commit
24d6ea5444
@ -508,8 +508,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
private void updateGameplayState()
|
||||
{
|
||||
bool inGameplay = !DrawableRuleset.HasReplayLoaded.Value && !GameplayState.HasPassed;
|
||||
bool inBreak = breakTracker.IsBreakTime.Value || DrawableRuleset.IsPaused.Value || GameplayState.HasFailed;
|
||||
bool inGameplay = !DrawableRuleset.HasReplayLoaded.Value && !GameplayState.HasPassed && !GameplayState.HasFailed;
|
||||
bool inBreak = breakTracker.IsBreakTime.Value || DrawableRuleset.IsPaused.Value;
|
||||
|
||||
if (inGameplay)
|
||||
playingState.Value = inBreak ? LocalUserPlayingState.Break : LocalUserPlayingState.Playing;
|
||||
|
Loading…
Reference in New Issue
Block a user