From 5398512286d3d11af60a4304a8af93507823d656 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 6 May 2025 19:12:13 -0300 Subject: [PATCH] fix: wrong table fn usage --- lua/CC Tweaked/tutel/tutel-host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CC Tweaked/tutel/tutel-host.lua b/lua/CC Tweaked/tutel/tutel-host.lua index 2ac2c89..e72b5a1 100644 --- a/lua/CC Tweaked/tutel/tutel-host.lua +++ b/lua/CC Tweaked/tutel/tutel-host.lua @@ -110,7 +110,7 @@ end local eventListeners = {} local function registerEventListener(name, listener) if not eventListeners[name] then eventListeners[name] = {} end - eventListeners[name]:insert(listener) + table.insert(eventListeners[name], listener) end local function dispatchEvents(event, ...)