mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
Let's try 30 FPS. Fixed Surface destruction bug.
This commit is contained in:
parent
0b947dbeee
commit
b954e70d85
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue