1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 01:37:46 +08:00

Simplify interface implementations

This commit is contained in:
Dean Herbert 2022-08-24 15:38:25 +09:00
parent 2f5be6efca
commit d05d8aeb22

View File

@ -68,12 +68,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
{ {
} }
public double Rate => IsCatchingUp ? catchup_rate : 1; public double Rate
double IAdjustableClock.Rate
{ {
get => Rate; get => IsCatchingUp ? catchup_rate : 1;
set => throw new NotSupportedException(); set => throw new NotImplementedException();
} }
public void ProcessFrame() public void ProcessFrame()