fix: make nil action and choregraphy when they are finished

This commit is contained in:
Kazhnuz 2020-07-25 11:38:59 +02:00
parent b9816706e5
commit 4ab2e72231
2 changed files with 2 additions and 0 deletions

View file

@ -109,6 +109,7 @@ function HeroFighter:goBackToMenu()
end
function HeroFighter:finishAction()
self.action = nil
self:setInactive()
end

View file

@ -40,6 +40,7 @@ function ActionParent:start()
end
function ActionParent:choregraphyEnded()
self.choregraphy = nil
self:finishAction()
end