mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-21 17:39:20 +00:00
Don't show an error dialog twice.
This commit is contained in:
parent
776747c2d9
commit
72c83e7eb0
|
@ -81,6 +81,11 @@ class CrashHandler
|
|||
|
||||
trace('Message: $message');
|
||||
}
|
||||
|
||||
#if sys
|
||||
// Exit the game. Since it threw an error, we use a non-zero exit code.
|
||||
Sys.exit(1);
|
||||
#end
|
||||
}
|
||||
|
||||
static function displayError(error:UncaughtErrorEvent):Void
|
||||
|
|
Loading…
Reference in a new issue