fix(ui): correct off by one error in FrameScript_Execute

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

View File

@ -252,7 +252,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
if (firstArg < argCount) { if (firstArg < argCount) {
for (int32_t i = firstArg; i < argCount; i++) { for (int32_t i = firstArg; i < argCount; i++) {
argId = i + 1; argId++;
if (argId >= 10) { if (argId >= 10) {
SStrPrintf(&argName[3], 3, "%d", argId); SStrPrintf(&argName[3], 3, "%d", argId);