From eaaf63f466bc37d8c84894c4b82058185e3446ad Mon Sep 17 00:00:00 2001 From: yamamama Date: Tue, 17 Mar 2026 15:55:21 -0400 Subject: [PATCH] Are you fucking kidding me --- src/lua_hudlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c index 2f2c304f7..257b378f5 100644 --- a/src/lua_hudlib.c +++ b/src/lua_hudlib.c @@ -1784,7 +1784,7 @@ static int lib_hudaddtimer(lua_State *L) CLEANUP(pfree) const char **patches = calloc(patches_size, sizeof(const char*)); for (INT32 i = 0; i < patches_size; ++i) { - lua_rawgeti(L, 3, i); + lua_rawgeti(L, 3, i+1); patches[i] = lua_tostring(L, -1); lua_pop(L, 1); }