Commit 2c63e6a08e9154fa72060e70cfc910fe7bf3ee8f

Authored by gaofengduan
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]
1 -Subproject commit 9f11b6c1ab04903698fe6200ba8b31d800450b51 1 +Subproject commit 15e0bd74f6d969ca483e1f271b95a331a824e2c7