fix(ui): correctly initialize argName in FrameScript_Execute

This commit is contained in:
fallenoak 2025-11-09 21:59:46 -06:00
parent 1b95c5f534
commit 0741f84fb0
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -245,7 +245,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
lua_rawset(L, LUA_GLOBALSINDEX); lua_rawset(L, LUA_GLOBALSINDEX);
} }
char argName[7] = { 'a', 'r', 'g', 0, 0, 0 }; static char argName[] = { 'a', 'r', 'g', '0', 0, 0, 0 };
int32_t firstArg = event != 0; int32_t firstArg = event != 0;
int32_t argId = 0; int32_t argId = 0;