Skip to content

Commit

Permalink
Update HScript.hx
Browse files Browse the repository at this point in the history
i should stop coding in the fucking browser:fire:
  • Loading branch information
inky03 authored Oct 3, 2024
1 parent 2142a4b commit 14d7eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/psychlua/HScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ class HScript extends Iris
this.returnValue = execute();
} catch (e:Dynamic) {
#if LUA_ALLOWED
FunkinLua.luaTrace('ERROR (${hs.origin}) - $e', false, false, FlxColor.RED);
FunkinLua.luaTrace('ERROR (${this.origin}) - $e', false, false, FlxColor.RED);
#else
PlayState.instance.addTextToDebug('ERROR (${hs.origin}) - $e', FlxColor.RED);
PlayState.instance.addTextToDebug('ERROR (${this.origin}) - $e', FlxColor.RED);
#end
this.returnValue = null;
}
Expand Down

0 comments on commit 14d7eee

Please sign in to comment.