From 2c63e6a08e9154fa72060e70cfc910fe7bf3ee8f Mon Sep 17 00:00:00 2001 From: gaofengduan <782277855@qq.com> Date: Fri, 12 Jul 2019 15:41:54 +0800 Subject: [PATCH] fix dienr --- src/actions/DinerAction.lua | 2 +- src/csvdata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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