mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
fix(ui): push correct arg value to stack in FrameScript_Execute
This commit is contained in:
parent
19f8ac0811
commit
1a25ac6a8e
@ -263,7 +263,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
|
|||||||
|
|
||||||
lua_pushstring(L, argName);
|
lua_pushstring(L, argName);
|
||||||
lua_rawget(L, LUA_GLOBALSINDEX);
|
lua_rawget(L, LUA_GLOBALSINDEX);
|
||||||
lua_pushvalue(L, v20 + firstArg);
|
lua_pushvalue(L, v20 + i);
|
||||||
lua_pushstring(L, argName);
|
lua_pushstring(L, argName);
|
||||||
lua_insert(L, -2);
|
lua_insert(L, -2);
|
||||||
lua_rawset(L, LUA_GLOBALSINDEX);
|
lua_rawset(L, LUA_GLOBALSINDEX);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user