Skip to content

Commit

Permalink
dumbass
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryFrosty committed Sep 6, 2024
1 parent 92855c4 commit 149f38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/psychlua/HScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ class HScript extends Iris
final retVal:IrisCall = funk.hscript.executeFunction(funcToRun, funcArgs);
if (retVal != null)
{
return (retVal.methodVal == null || LuaUtils.isOfTypes(retVal.methodVal, [Bool, Int, Float, String, Array])) ? retVal.methodVal : null;
return (retVal.returnValue == null || LuaUtils.isOfTypes(retVal.returnValue, [Bool, Int, Float, String, Array])) ? retVal.returnValue : null;
}
}
catch(e:Dynamic)
Expand Down

0 comments on commit 149f38b

Please sign in to comment.