Merge pull request #698 from FunkinCrew/completion-server-null-fix

completion server null fix
This commit is contained in:
Cameron Taylor 2024-08-26 13:16:05 -04:00 committed by GitHub
commit fd06e6800c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,9 +265,10 @@ class CrashHandler
static function renderMethod():String
{
try
var outputStr:String = 'UNKNOWN';
outputStr = try
{
return switch (FlxG.renderMethod)
switch (FlxG.renderMethod)
{
case FlxRenderMethod.DRAW_TILES: 'DRAW_TILES';
case FlxRenderMethod.BLITTING: 'BLITTING';
@ -276,7 +277,9 @@ class CrashHandler
}
catch (e)
{
return 'ERROR ON QUERY RENDER METHOD: ${e}';
}
'ERROR ON QUERY RENDER METHOD: ${e}';
}
return outputStr;
}
}