1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00

Fix editor clock scene not re-enabling beatmap

Could interfere with other tests due to causing crashes on attempts to
change `Beatmap.Value`.
This commit is contained in:
Bartłomiej Dach 2021-04-03 12:34:48 +02:00
parent eb1e850f99
commit 7d4b0e3f0a

View File

@ -77,5 +77,11 @@ namespace osu.Game.Tests.Visual.Editing
AddStep("start clock again", Clock.Start);
AddAssert("clock looped to start", () => Clock.IsRunning && Clock.CurrentTime < 500);
}
protected override void Dispose(bool isDisposing)
{
Beatmap.Disabled = false;
base.Dispose(isDisposing);
}
}
}