mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Fix a crash when querying FlxG.state
This commit is contained in:
parent
a6948c3a38
commit
be07760103
1 changed files with 3 additions and 1 deletions
|
@ -141,7 +141,9 @@ class CrashHandler
|
||||||
|
|
||||||
fullContents += '\n';
|
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';
|
fullContents += '\n';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue