1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 02:31:18 +08:00

Fix test clock no longer accounting for rate changes

This commit is contained in:
Dean Herbert
2023-10-23 22:18:38 +09:00
Unverified
parent d08ba764dd
commit baf4130f3a
+4 -1
View File
@@ -432,7 +432,10 @@ namespace osu.Game.Tests.Visual
private bool running;
public override double Rate => referenceClock.Rate;
public override double Rate => base.Rate
// This is mainly to allow some tests to override the rate to zero
// and avoid interpolation.
* referenceClock.Rate;
public TrackVirtualManual(IFrameBasedClock referenceClock, string name = "virtual")
: base(name)