mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Fixed #1008
This commit is contained in:
parent
338b613074
commit
f653aa3375
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
destroy: ->
|
||||
mark.destroy() for name, mark of @marks
|
||||
label.destroy() for name, label of @labels
|
||||
p.removeChild @healthBar if p = @healthBar?.parent
|
||||
@imageObject?.off 'animationend', @playNextAction
|
||||
clearInterval @effectInterval if @effectInterval
|
||||
super()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue