1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Make testcase work on appveyor (no BASS)

This commit is contained in:
smoogipoo 2018-06-15 15:38:19 +09:00 committed by Dean Herbert
parent e0ee5e2085
commit 08f172ba98

View File

@ -88,7 +88,9 @@ namespace osu.Game.Tests.Visual
protected override void Update()
{
base.Update();
marker.X = (float)(adjustableClock.CurrentTime / beatmap.Value.Track.Length);
if (beatmap.Value.Track.IsLoaded)
marker.X = (float)(adjustableClock.CurrentTime / beatmap.Value.Track.Length);
}
}