Commit 2c63e6a08e9154fa72060e70cfc910fe7bf3ee8f
1 parent
2b4c4644
fix dienr
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/actions/DinerAction.lua
@@ -167,7 +167,7 @@ function _M.expediteSellRpc( agent, data ) | @@ -167,7 +167,7 @@ function _M.expediteSellRpc( agent, data ) | ||
167 | local role = agent.role | 167 | local role = agent.role |
168 | local count = role.dinerData:getProperty("expedite") | 168 | local count = role.dinerData:getProperty("expedite") |
169 | local max = #globalCsv.diner_sell_quick_cost | 169 | local max = #globalCsv.diner_sell_quick_cost |
170 | - if count >= max then | 170 | + if count > max then |
171 | return 1 | 171 | return 1 |
172 | end | 172 | end |
173 | local diamond = globalCsv.diner_sell_quick_cost[count] | 173 | local diamond = globalCsv.diner_sell_quick_cost[count] |