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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user