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

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