mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +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:
parent
eb1e850f99
commit
7d4b0e3f0a
@ -77,5 +77,11 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
AddStep("start clock again", Clock.Start);
|
AddStep("start clock again", Clock.Start);
|
||||||
AddAssert("clock looped to start", () => Clock.IsRunning && Clock.CurrentTime < 500);
|
AddAssert("clock looped to start", () => Clock.IsRunning && Clock.CurrentTime < 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void Dispose(bool isDisposing)
|
||||||
|
{
|
||||||
|
Beatmap.Disabled = false;
|
||||||
|
base.Dispose(isDisposing);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user