1
0
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:
Dean Herbert 2023-10-23 22:18:38 +09:00
parent d08ba764dd
commit baf4130f3a
No known key found for this signature in database

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)