mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Elaborate with example of GameplayClockContainer
managing its own Stop
state
This commit is contained in:
parent
af2e82d7d5
commit
e6b669db8e
@ -88,6 +88,7 @@ namespace osu.Game.Screens.Play
|
||||
isPaused.Value = false;
|
||||
|
||||
// the clock may be stopped via internal means (ie. not via `IsPaused`).
|
||||
// see Reset() calling `GameplayClock.Stop()` as one example.
|
||||
if (!GameplayClock.IsRunning)
|
||||
{
|
||||
// Seeking the decoupled clock to its current time ensures that its source clock will be seeked to the same time
|
||||
|
Loading…
Reference in New Issue
Block a user