Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Use AddGame on visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
GSculerlor committed Sep 17, 2021
1 parent 33e5a3a commit faf4fe9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions osu.Game.Rulesets.Cytosu.Tests/TestSceneOsuGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,16 @@ public class TestSceneOsuGame : OsuTestScene
[BackgroundDependencyLoader]
private void load(GameHost host, OsuGameBase gameBase)
{
OsuGame game = new OsuGame();
game.SetHost(host);

Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
},
game
}
};

AddGame(new OsuGame());
}
}
}

0 comments on commit faf4fe9

Please sign in to comment.