summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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