mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 01:28:16 -05:00
Merge pull request #698 from FunkinCrew/completion-server-null-fix
completion server null fix
This commit is contained in:
commit
fd06e6800c
1 changed files with 6 additions and 3 deletions
|
@ -265,9 +265,10 @@ class CrashHandler
|
||||||
|
|
||||||
static function renderMethod():String
|
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.DRAW_TILES: 'DRAW_TILES';
|
||||||
case FlxRenderMethod.BLITTING: 'BLITTING';
|
case FlxRenderMethod.BLITTING: 'BLITTING';
|
||||||
|
@ -276,7 +277,9 @@ class CrashHandler
|
||||||
}
|
}
|
||||||
catch (e)
|
catch (e)
|
||||||
{
|
{
|
||||||
return 'ERROR ON QUERY RENDER METHOD: ${e}';
|
'ERROR ON QUERY RENDER METHOD: ${e}';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return outputStr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue