v0.3.0 - Nothing works. I'm confused as hell. I can't figure this out.

This commit is contained in:
TheWahlolly
2025-04-05 16:21:58 +03:00
parent 7b8e237abe
commit 198b56e64a
8 changed files with 208 additions and 21 deletions
+8
View File
@@ -2,6 +2,8 @@ _G.evmgr = {}
_G.evmgr.eventQueue = {}
local maxEventQueueLength = 10 -- increase if events start getting dropped
--local ocelot = component.proxy(component.list("ocelot")())
while true do
local args
repeat
@@ -11,6 +13,12 @@ while true do
while #evmgr.eventQueue > maxEventQueueLength do
table.remove(evmgr.eventQueue, 1)
end
--ocelot.log("Event queue:")
for i = 1, #evmgr.eventQueue do
--ocelot.log("Args 1 and 2:")
--ocelot.log(tostring(evmgr.eventQueue[i][1]))
--ocelot.log(tostring(evmgr.eventQueue[i][2]))
end
end
until not args
coroutine.yield()