Merge pull request #12279 from bdach/fix-editor-clock-test-interference

Fix editor clock test scene not re-enabling beatmap
This commit is contained in:
Bartłomiej Dach 2021-04-03 13:32:56 +02:00 committed by GitHub
commit 1e1c07ced1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}
}