diff options
-rw-r--r-- | shop2.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,8 +33,9 @@ end local function centre(s,w) s=tostring(s) local l = #s - local p = math.floor(math.max(0,w-l)/2)) + local p = math.floor(math.max(0,w-l)/2) return string.rep(" ",p)..s +end local function disp_shopscreen() local m = peripheral.wrap"left" |