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 | 34 | end |
| 35 | 35 | |
| 36 | 36 | -- 检查 夜间打工 |
| 37 | - local workBattle = role:getProperty("workBattle") | |
| 37 | + local workBattle = self:getProperty("workBattle") | |
| 38 | 38 | local need = {} |
| 39 | 39 | for i = 1, 5 do |
| 40 | 40 | if workBattle[i] == 1 then | ... | ... |