Commit 7a0dc1cfc1bc982376de535d475b03f4a9052030

Authored by chenyueqi
1 parent 70fbe691

初始号不触发回归活动

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
src/models/RoleTimeReset.lua
... ... @@ -29,8 +29,7 @@ ResetFunc["CrossDay"] = function(self, notify, response, now)
29 29 end
30 30  
31 31 -- 检查回归者
32   - if (now - ltime) >= 86400 * globalCsv.returner_time then
33   - -- if true then
  32 + if ltime ~= 0 and (now - ltime) >= 86400 * globalCsv.returner_time then
34 33 self:checkReturner()
35 34 end
36 35  
... ...