From 8c663df47e9a09b86aeb24c5649a589510d370ff Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 22 Apr 2026 19:54:17 +0200 Subject: [PATCH] whoops --- src/lua_rds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_rds.c b/src/lua_rds.c index 622ff36..b49c14e 100644 --- a/src/lua_rds.c +++ b/src/lua_rds.c @@ -71,7 +71,7 @@ void init_lua(RDSEncoder* _enc) { lua_setfield(L, -2, "tick"); lua_newtable(L); lua_setfield(L, -2, "rt_transmission"); - lua_setfield(L, -1, "hooks"); + lua_setglobal(L, "hooks"); lua_newtable(L);