From 87681d8c8959f7cfd5ed2fc4e71e4851107c3fcb Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 29 Dec 2022 23:32:05 +0000 Subject: shop --- shop.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3