0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

don't push the integer

This commit is contained in:
2025-12-24 19:48:02 +01:00
parent 199c2b79cb
commit b5cbd80f5e

View File

@@ -624,9 +624,6 @@ void lua_group_ref(RDSGroup* group, int ref) {
lua_rawgeti(L, LUA_REGISTRYINDEX, ref); lua_rawgeti(L, LUA_REGISTRYINDEX, ref);
if (lua_isfunction(L, -1)) { if (lua_isfunction(L, -1)) {
lua_pushinteger(L, group->b);
lua_pushinteger(L, group->c);
lua_pushinteger(L, group->d);
if (lua_pcall(L, 3, 3, 0) == LUA_OK) { if (lua_pcall(L, 3, 3, 0) == LUA_OK) {
if (!lua_isinteger(L, -1)) { if (!lua_isinteger(L, -1)) {
pthread_mutex_unlock(&lua_mutex); pthread_mutex_unlock(&lua_mutex);