diff --git a/app/lib/surface/SpriteBoss.coffee b/app/lib/surface/SpriteBoss.coffee index 2ccbcabf3..8a9823b89 100644 --- a/app/lib/surface/SpriteBoss.coffee +++ b/app/lib/surface/SpriteBoss.coffee @@ -40,7 +40,7 @@ module.exports = class SpriteBoss extends CocoClass @spriteSheetCache = {} destroy: -> - @removeSprite sprite for sprite in @spriteArray + @removeSprite sprite for thangID, sprite of @sprites @targetMark?.destroy() @selectionMark?.destroy() super()