1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-03-21 09:29:41 +00:00

Don't show an error dialog twice.

This commit is contained in:
EliteMasterEric 2024-05-01 11:40:51 -04:00
parent 776747c2d9
commit 72c83e7eb0

View file

@ -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