diff --git a/src/actions/DinerAction.lua b/src/actions/DinerAction.lua index 657ad0b..04a994d 100644 --- a/src/actions/DinerAction.lua +++ b/src/actions/DinerAction.lua @@ -167,7 +167,7 @@ function _M.expediteSellRpc( agent, data ) local role = agent.role local count = role.dinerData:getProperty("expedite") local max = #globalCsv.diner_sell_quick_cost - if count >= max then + if count > max then return 1 end local diamond = globalCsv.diner_sell_quick_cost[count] diff --git a/src/csvdata b/src/csvdata index 9f11b6c..15e0bd7 160000 --- a/src/csvdata +++ b/src/csvdata @@ -1 +1 @@ -Subproject commit 9f11b6c1ab04903698fe6200ba8b31d800450b51 +Subproject commit 15e0bd74f6d969ca483e1f271b95a331a824e2c7 -- libgit2 0.21.2