mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 22:33:13 +08: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()
|
private void updateGameplayState()
|
||||||
{
|
{
|
||||||
bool inGameplay = !DrawableRuleset.HasReplayLoaded.Value && !GameplayState.HasPassed;
|
bool inGameplay = !DrawableRuleset.HasReplayLoaded.Value && !GameplayState.HasPassed && !GameplayState.HasFailed;
|
||||||
bool inBreak = breakTracker.IsBreakTime.Value || DrawableRuleset.IsPaused.Value || GameplayState.HasFailed;
|
bool inBreak = breakTracker.IsBreakTime.Value || DrawableRuleset.IsPaused.Value;
|
||||||
|
|
||||||
if (inGameplay)
|
if (inGameplay)
|
||||||
playingState.Value = inBreak ? LocalUserPlayingState.Break : LocalUserPlayingState.Playing;
|
playingState.Value = inBreak ? LocalUserPlayingState.Break : LocalUserPlayingState.Playing;
|
||||||
|
Loading…
Reference in New Issue
Block a user