Commit 85def47eff117d1a059cb5ba3a01509c3ea5ca2c
Merge branch 'tr/bugfix-qa' into tr/publish/qa-out
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 | ... | ... |