mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Fix test clock no longer accounting for rate changes
This commit is contained in:
parent
d08ba764dd
commit
baf4130f3a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user