mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 04:23:21 +08:00
Merge pull request #24053 from bdach/fix-skip-when-ready-2
Fix skip not always triggering in multiplayer
This commit is contained in:
commit
c84a75406c
@ -378,9 +378,6 @@ namespace osu.Game.Screens.Play
|
|||||||
IsBreakTime.BindTo(breakTracker.IsBreakTime);
|
IsBreakTime.BindTo(breakTracker.IsBreakTime);
|
||||||
IsBreakTime.BindValueChanged(onBreakTimeChanged, true);
|
IsBreakTime.BindValueChanged(onBreakTimeChanged, true);
|
||||||
|
|
||||||
if (Configuration.AutomaticallySkipIntro)
|
|
||||||
skipIntroOverlay.SkipWhenReady();
|
|
||||||
|
|
||||||
loadLeaderboard();
|
loadLeaderboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1087,6 +1084,9 @@ namespace osu.Game.Screens.Play
|
|||||||
throw new InvalidOperationException($"{nameof(StartGameplay)} should not be called when the gameplay clock is already running");
|
throw new InvalidOperationException($"{nameof(StartGameplay)} should not be called when the gameplay clock is already running");
|
||||||
|
|
||||||
GameplayClockContainer.Reset(startClock: true);
|
GameplayClockContainer.Reset(startClock: true);
|
||||||
|
|
||||||
|
if (Configuration.AutomaticallySkipIntro)
|
||||||
|
skipIntroOverlay.SkipWhenReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnSuspending(ScreenTransitionEvent e)
|
public override void OnSuspending(ScreenTransitionEvent e)
|
||||||
|
Loading…
Reference in New Issue
Block a user