fix: delete timer before calling the response
This commit is contained in:
parent
8b785eb0a3
commit
47a9353471
1 changed files with 1 additions and 1 deletions
|
@ -52,8 +52,8 @@ function Timer:getInfo()
|
||||||
end
|
end
|
||||||
|
|
||||||
function Timer:finish()
|
function Timer:finish()
|
||||||
self.actor:timerResponse(self.name)
|
|
||||||
self.actor.timers[self.name] = nil
|
self.actor.timers[self.name] = nil
|
||||||
|
self.actor:timerResponse(self.name)
|
||||||
end
|
end
|
||||||
|
|
||||||
return Timer
|
return Timer
|
||||||
|
|
Loading…
Reference in a new issue