Commit c0308568516fab0d0a2d04fbe431d298791d804b
1 parent
c875de66
fix: 跨天登录才计登录天数
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
src/actions/RoleAction.lua
src/models/RoleTimeReset.lua
... | ... | @@ -68,6 +68,9 @@ ResetFunc["CrossDay"] = function(self, notify, response, now) |
68 | 68 | response.dTask = {} |
69 | 69 | response.advSup = self:getProperty("advSup") |
70 | 70 | self:log("onLogin") |
71 | + | |
72 | + --跨天登录,登录次数+1 | |
73 | + self:checkTaskEnter("Login", {}) | |
71 | 74 | end |
72 | 75 | |
73 | 76 | ResetFunc["CrossWeek"] = function(self, notify, response) | ... | ... |