Skip to content

Commit

Permalink
Merge pull request #15354 from Sword352/hscript-set-bugfix
Browse files Browse the repository at this point in the history
Restore the old behaviour for setting variables to hscript
  • Loading branch information
ShadowMario authored Aug 19, 2024
2 parents a313048 + e672206 commit 1f15374
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/psychlua/HScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,11 @@ class HScript extends Iris
}
#end

override public function set(name:String, value:Dynamic, allowOverride:Bool = false):Void {
// should always override by default
super.set(name, value, true);
}

/*override function irisPrint(v):Void
{
FunkinLua.luaTrace('ERROR (${this.origin}:${interp.posInfos().lineNumber}): ${v}');
Expand Down

0 comments on commit 1f15374

Please sign in to comment.