From 30b7dd83df26e9b5915919b548402afca9a58103 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 12 Jan 2023 18:16:46 +0000 Subject: shop2 --- shop2/disp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop2/disp.lua b/shop2/disp.lua index 570e2d6..af7333c 100644 --- a/shop2/disp.lua +++ b/shop2/disp.lua @@ -62,7 +62,7 @@ local function disp_shopscreen(items) {22,y}, colour, idesc.hname, } end - for _,idesc in ipairs(items) do + for ix,idesc in ipairs(items) do local amt = stock.amt_of(si,idesc) fmt_row(ix+2, idesc,amt) end -- cgit v1.2.3