From cee86c7b2b9f9335c2a2711499c18464861f14ac Mon Sep 17 00:00:00 2001 From: liguanghui Date: Tue, 16 Mar 2021 17:11:39 +0800 Subject: [PATCH] bug修复:海港贸易委托无法领取奖励 --- src/actions/SeaportAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/SeaportAction.lua b/src/actions/SeaportAction.lua index ab09b39..dff2bdf 100644 --- a/src/actions/SeaportAction.lua +++ b/src/actions/SeaportAction.lua @@ -186,7 +186,7 @@ function _M.taskRpc(agent, data) end local quick = msg.quick local endTime = data.time + collect.time - local remainT = skynet.timex() - endTime + local remainT = endTime - skynet.timex() if not quick and remainT > 0 then return 6 end if quick and remainT > 0 then -- libgit2 0.21.2