fix(ui): push correct arg value to stack in FrameScript_Execute

This commit is contained in:
fallenoak committed 2025-12-07 23:53:05 -06:00
1 parent 19f8ac0811
commit 1a25ac6a8e
1 file changed
+1 -1
+1 -1
View File
@@ -263,7 +263,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
lua_pushstring(L, argName);
lua_rawget(L, LUA_GLOBALSINDEX);
lua_pushvalue(L, v20 + firstArg);
lua_pushvalue(L, v20 + i);
lua_pushstring(L, argName);
lua_insert(L, -2);
lua_rawset(L, LUA_GLOBALSINDEX);