fix: make nil action and choregraphy when they are finished
This commit is contained in:
parent
b9816706e5
commit
4ab2e72231
2 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,7 @@ function HeroFighter:goBackToMenu()
|
|||
end
|
||||
|
||||
function HeroFighter:finishAction()
|
||||
self.action = nil
|
||||
self:setInactive()
|
||||
end
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ function ActionParent:start()
|
|||
end
|
||||
|
||||
function ActionParent:choregraphyEnded()
|
||||
self.choregraphy = nil
|
||||
self:finishAction()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue