This commit is contained in:
Scott Erickson 2014-05-15 10:51:38 -07:00
parent 338b613074
commit f653aa3375

View file

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