summaryrefslogtreecommitdiff
path: root/shop.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-29 23:32:05 +0000
committerubq323 <ubq323@ubq323.website>2022-12-29 23:32:05 +0000
commit87681d8c8959f7cfd5ed2fc4e71e4851107c3fcb (patch)
treecb54b854b1aff3e75fc275cbf94e7bb9884c4ff3 /shop.lua
parentc5b14b892066ec31ee9e7f49f608f9b530b00c5b (diff)
shop
Diffstat (limited to 'shop.lua')
-rw-r--r--shop.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/shop.lua b/shop.lua
index 772e93b..8845b31 100644
--- a/shop.lua
+++ b/shop.lua
@@ -132,8 +132,9 @@ function run_sidedisp()
local m = peripheral.wrap("left")
local function printseq(q)
for _,v in ipairs(q) do
+ print(v,type(v))
if type(v) == "number" then
- m.setTextColor(m)
+ m.setTextColor(v)
elseif type(v) == "table" then
m.setCursorPos(v[1],v[2])
else -- str