mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Remove ClockToProcess, always process underlying clock
This commit is contained in:
@ -80,15 +80,13 @@ namespace osu.Game.Screens.Play
|
||||
protected override void Update()
|
||||
{
|
||||
if (!IsPaused.Value)
|
||||
ClockToProcess.ProcessFrame();
|
||||
GameplayClock.UnderlyingClock.ProcessFrame();
|
||||
|
||||
base.Update();
|
||||
}
|
||||
|
||||
protected abstract void OnIsPausedChanged(ValueChangedEvent<bool> isPaused);
|
||||
|
||||
protected virtual IFrameBasedClock ClockToProcess => AdjustableClock;
|
||||
|
||||
protected abstract GameplayClock CreateGameplayClock(IFrameBasedClock source);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user