mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Load Player-based TestCases asynchronously
This commit is contained in:
parent
36d1b8a021
commit
d1afbf8055
@ -78,7 +78,7 @@ namespace osu.Game.Tests.Visual
|
||||
if (Player != null)
|
||||
Remove(Player);
|
||||
|
||||
LoadScreen(CreatePlayer(working, instance));
|
||||
LoadComponentAsync(CreatePlayer(working, instance), LoadScreen);
|
||||
}
|
||||
|
||||
protected virtual Player CreatePlayer(WorkingBeatmap beatmap, Ruleset ruleset) => new Player
|
||||
|
Loading…
Reference in New Issue
Block a user