From 15cced4eae697d2f6ff3b50a1235a4e13c5a4899 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 6 May 2025 18:59:39 -0300 Subject: [PATCH] fix: wrong way of calling table.unpack --- lua/CC Tweaked/tutel/tutel-host.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/CC Tweaked/tutel/tutel-host.lua b/lua/CC Tweaked/tutel/tutel-host.lua index 6bde227..afe5e62 100644 --- a/lua/CC Tweaked/tutel/tutel-host.lua +++ b/lua/CC Tweaked/tutel/tutel-host.lua @@ -164,7 +164,6 @@ local function handleMessages(side, channel, replyChannel, message, dist) if type(message) ~= "table" then return end if not message.header or message.header ~= MSG_HEADER then return end if not message.data then message.data = {} end - end --[[ main @@ -227,7 +226,7 @@ function pollEvents() local eventName = eventData[1] table.remove(eventData, 1) - dispatchEvents(eventName, eventData:unpack()) + dispatchEvents(eventName, table.unpack(eventData)) end while true do