From 428477bdec1629b6345867ec826d15ad9901faec Mon Sep 17 00:00:00 2001 From: Anavrins Date: Wed, 6 May 2020 19:02:44 -0400 Subject: [PATCH] Whoops --- swshop/shopConfig.lua | 1 - swshop/shopView.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/swshop/shopConfig.lua b/swshop/shopConfig.lua index c5958ea..8c1ffba 100644 --- a/swshop/shopConfig.lua +++ b/swshop/shopConfig.lua @@ -37,7 +37,6 @@ local wizardPage = UI.WizardPage { [5] = UI.Chooser { formLabel = 'RS Signal', formKey = 'rsSide', formIndex = 6, width = 10, - nochoice = 'Top', choices = { {name = 'Bottom', value = 'bottom'}, {name = 'Top', value = 'top'}, diff --git a/swshop/shopView.lua b/swshop/shopView.lua index 4a51b17..1afafd3 100644 --- a/swshop/shopView.lua +++ b/swshop/shopView.lua @@ -155,7 +155,7 @@ local function createPage(node) self.grid.values = { } for k,v in pairs(config) do local item = list[k] or itemDB:get(k) - if item and (node.showOutOfStock or item.count > 0) then + if item and (node.showOutOfStock or item.count or 0 > 0) then table.insert(self.grid.values, { displayName = item.displayName, count = item.count or 0,