diff options
Diffstat (limited to 'src/client/Main.hx')
| -rw-r--r-- | src/client/Main.hx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx index abc39f6..729658c 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -67,10 +67,11 @@ class Main { var msgBuf = getEl("#messagebuffer"); static function main():Void { - instance = new Main(); + new Main(); } function new() { + instance = this; haxe.Log.trace = Utils.nativeTrace; player = new Player(this); host = Browser.location.hostname; |
