Commit 0e3acc50a7c1a1ef41495c9051b82e1d5fcd1ec1
1 parent
29fbbc10
roleTImeReset的role改成self
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RoleTimeReset.lua
@@ -34,7 +34,7 @@ ResetFunc["CrossDay"] = function(self, notify, response, now) | @@ -34,7 +34,7 @@ ResetFunc["CrossDay"] = function(self, notify, response, now) | ||
34 | end | 34 | end |
35 | 35 | ||
36 | -- 检查 夜间打工 | 36 | -- 检查 夜间打工 |
37 | - local workBattle = role:getProperty("workBattle") | 37 | + local workBattle = self:getProperty("workBattle") |
38 | local need = {} | 38 | local need = {} |
39 | for i = 1, 5 do | 39 | for i = 1, 5 do |
40 | if workBattle[i] == 1 then | 40 | if workBattle[i] == 1 then |