v0.3.1 - Fixed the infamous bug

TheWahlolly didn't know that arrays were stored in pointers when set into another variable, affecting the original array. I also made some changes into the code for ocelot logs so signals are much clearer to investigate (I hope).
This commit is contained in:
Ponali
2025-04-08 19:55:23 +02:00
parent 198b56e64a
commit 6f1508d1bf
6 changed files with 30 additions and 22 deletions
+2 -2
View File
@@ -6,6 +6,6 @@ local event = import("event")
print("\n\n".._OSVERSION..'\n │ Welcome! Type "help" to get started.\n')
while true do
--coroutine.yield()
local args = table.pack(event.pull("key_down"))
local args = {event.pull("key_down")}
--ocelot.log(tostring(args[1]))
end
end