fix: delete timer before calling the response

This commit is contained in:
Kazhnuz 2021-08-08 13:01:58 +02:00
parent 8b785eb0a3
commit 47a9353471

View file

@ -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