Let's try 30 FPS. Fixed Surface destruction bug.

This commit is contained in:
Nick Winter 2014-04-28 17:06:43 -07:00
parent 0b947dbeee
commit b954e70d85

View file

@ -40,7 +40,7 @@ module.exports = class SpriteBoss extends CocoClass
@spriteSheetCache = {} @spriteSheetCache = {}
destroy: -> destroy: ->
@removeSprite sprite for sprite in @spriteArray @removeSprite sprite for thangID, sprite of @sprites
@targetMark?.destroy() @targetMark?.destroy()
@selectionMark?.destroy() @selectionMark?.destroy()
super() super()