Merge pull request #7750 from peppy/fix-editor-test-scene

Fix editor test scene exiting after loading
This commit is contained in:
Dan Balasescu 2020-02-07 18:07:48 +09:00 committed by GitHub
commit 71ba3e459b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,13 @@ namespace osu.Game.Tests.Visual
private void load()
{
Beatmap.Value = CreateWorkingBeatmap(ruleset.RulesetInfo);
}
LoadScreen(new Editor());
public override void SetUpSteps()
{
base.SetUpSteps();
AddStep("Load editor", () => LoadScreen(new Editor()));
}
}
}