Fixed problem with IndieSprites not loading, breaking scripts.

This commit is contained in:
Nick Winter 2014-05-16 17:18:56 -07:00
parent f64e50f85b
commit a36a7792ec

View file

@ -46,7 +46,7 @@ module.exports = class SpriteBoss extends CocoClass
toString: -> "<SpriteBoss: #{@spriteArray.length} sprites>"
thangTypeFor: (type) ->
_.find @options.thangTypes, (m) -> m.get('actions') and m.get('original') is type or m.get('name') is type
_.find @options.thangTypes, (m) -> m.get('original') is type or m.get('name') is type
createLayers: ->
@spriteLayers = {}