Merge remote-tracking branch 'public/bugfix/crash-handler-flxstate-check' into bugfix/public-fixes

This commit is contained in:
EliteMasterEric 2024-05-09 16:39:53 -04:00
commit 0b82a206ef
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ class CrashHandler
fullContents += '\n';
fullContents += 'Flixel Current State: ${Type.getClassName(Type.getClass(FlxG.state))}\n';
var currentState = FlxG.state != null ? Type.getClassName(Type.getClass(FlxG.state)) : 'No state loaded';
fullContents += 'Flixel Current State: ${currentState}\n';
fullContents += '\n';