1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-25 03:07:34 +08:00

Remove now unnecessary override

This commit is contained in:
smoogipoo 2021-04-16 20:51:07 +09:00
parent c8d38f9983
commit 7d5d7088cd

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Scoring;
@ -33,21 +32,11 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
public class SubGameplayClockContainer : GameplayClockContainer
{
public new DecoupleableInterpolatingFramedClock AdjustableClock => base.AdjustableClock;
public SubGameplayClockContainer(IClock sourceClock)
: base(sourceClock)
{
}
protected override void OnIsPausedChanged(ValueChangedEvent<bool> isPaused)
{
if (isPaused.NewValue)
AdjustableClock.Stop();
else
AdjustableClock.Start();
}
protected override GameplayClock CreateGameplayClock(IFrameBasedClock source) => new GameplayClock(source);
}
}