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
1 changed files with 5 additions and 1 deletions

View File

@ -8,8 +8,12 @@ namespace osu.Desktop.VisualTests
{
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()));
}
}