diff --git a/project.xml b/project.xml index ca1e52bc..fc745a49 100644 --- a/project.xml +++ b/project.xml @@ -198,6 +198,9 @@ + + + diff --git a/source/funkin/backend/system/Main.hx b/source/funkin/backend/system/Main.hx index 78c76b97..e0a56ce2 100644 --- a/source/funkin/backend/system/Main.hx +++ b/source/funkin/backend/system/Main.hx @@ -63,6 +63,9 @@ class Main extends Sprite public function new() { super(); + + instance = this; + CrashHandler.init(); addChild(game = new FunkinGame(gameWidth, gameHeight, MainState, Options.framerate, Options.framerate, skipSplash, startFullscreen));