mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 19:00:07 +08:00
Fix test clock no longer accounting for rate changes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user