summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-29 23:38:42 +0000
committerubq323 <ubq323@ubq323.website>2022-12-29 23:38:42 +0000
commitdc2965a45f70a7e4b082a6e633cf357106f1b439 (patch)
treeab00fb3262e03a3337f25c2b89f3a503042b0528
parente840dd8ad9667f314d2fc8c502ad36819f04b5e7 (diff)
shop
-rw-r--r--shop.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/shop.lua b/shop.lua
index c0d5d4b..3319853 100644
--- a/shop.lua
+++ b/shop.lua
@@ -94,9 +94,6 @@ function run_shop()
if msg.type ~= "keepalive" then print(msgtxt) end
if msg.type == "response" and msg.responding_to_type == "me" then
our_addr = msg.address.address
- local m = peripheral.wrap"left"
- m.setCursorPos(1,1)
- m.write(our_addr)
end
if msg.type == "event" and msg.event == "transaction" then
require"cc.pretty".pretty_print(proctrans(msg.transaction))
@@ -130,6 +127,7 @@ end
function run_sidedisp()
local m = peripheral.wrap("left")
+ m.clear()
local function printseq(q)
for _,v in ipairs(q) do
print(v,type(v))