1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Fix nullref.

This commit is contained in:
Dean Herbert 2017-03-31 18:05:24 +09:00
parent 2b847aa2f4
commit 01538ed7d7
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -8,8 +8,12 @@ namespace osu.Desktop.VisualTests
{ {
public class AutomatedVisualTestGame : OsuGameBase public class AutomatedVisualTestGame : OsuGameBase
{ {
public AutomatedVisualTestGame() protected override void LoadComplete()
{ {
base.LoadComplete();
// Have to construct this here, rather than in the constructor, because
// we depend on some dependencies to be loaded within OsuGameBase.load().
Add(new TestRunner(new TestBrowser())); Add(new TestRunner(new TestBrowser()));
} }
} }