Update nested game tests in line with framework changes

This commit is contained in:
Dean Herbert
2021-09-13 18:32:48 +09:00
parent f6c4bbe2c9
commit aa71e3f3d4
6 changed files with 11 additions and 24 deletions

View File

@ -81,10 +81,7 @@ namespace osu.Game.Tests.Visual
protected void CreateGame()
{
Game = new TestOsuGame(LocalStorage, API);
Game.SetHost(host);
Add(Game);
AddGame(Game = new TestOsuGame(LocalStorage, API));
}
protected void PushAndConfirm(Func<Screen> newScreen)