diff --git a/augment/main.lua b/augment/main.lua index 76e28bf..896a661 100644 --- a/augment/main.lua +++ b/augment/main.lua @@ -81,5 +81,6 @@ function() -- Neural Interface coroutine os.sleep(0.05) end _G.canvas3d_src.clear() + _G.canvas2d.clear() end, table.unpack(modules)) print("Goodbye!") diff --git a/augment/modules/event.lua b/augment/modules/event.lua index f984e2c..c87b04a 100644 --- a/augment/modules/event.lua +++ b/augment/modules/event.lua @@ -9,6 +9,5 @@ return function() else print(table.unpack(ev)) end - os.sleep(0.05) end end diff --git a/augment/modules/wh.lua b/augment/modules/wh.lua index 2da4b33..e195376 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -24,7 +24,7 @@ return function() cache[id].cube.setPosition(entity.x - 0.25, entity.y - 0.25, entity.z - 0.25) cache[id].frame.setPosition(entity.x, entity.y, entity.z) cache[id].text.setAlpha(0xFF) - cache[id].text.setText(entity.name) + cache[id].text.setText(entity.name + "\n" + textutils.serialize(entity)) cache[id].text.setColor(0xFF0000FF) end end