Commit cee86c7b2b9f9335c2a2711499c18464861f14ac

Authored by liguanghui
1 parent 09582aac

bug修复:海港贸易委托无法领取奖励

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/SeaportAction.lua
@@ -186,7 +186,7 @@ function _M.taskRpc(agent, data) @@ -186,7 +186,7 @@ function _M.taskRpc(agent, data)
186 end 186 end
187 local quick = msg.quick 187 local quick = msg.quick
188 local endTime = data.time + collect.time 188 local endTime = data.time + collect.time
189 - local remainT = skynet.timex() - endTime 189 + local remainT = endTime - skynet.timex()
190 if not quick and remainT > 0 then return 6 end 190 if not quick and remainT > 0 then return 6 end
191 191
192 if quick and remainT > 0 then 192 if quick and remainT > 0 then