summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop2/main.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/shop2/main.lua b/shop2/main.lua
index 078b8d9..7b298db 100644
--- a/shop2/main.lua
+++ b/shop2/main.lua
@@ -108,7 +108,12 @@ end
local run_disp = require"shop2.disp".run
+while true do
print(pcall(parallel.waitForAny,run_shop,run_disp))
+print("restarting....")
+os.sleep(0.5)
+end
+
-- print("hi")
-- peripheral.call("top","clear")
-- peripheral.call("left","clear")