diff --git a/app/lib/surface/CocoSprite.coffee b/app/lib/surface/CocoSprite.coffee index 3daaa5635..98187cb7b 100644 --- a/app/lib/surface/CocoSprite.coffee +++ b/app/lib/surface/CocoSprite.coffee @@ -73,7 +73,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass toString: -> "" buildSpriteSheet: -> - options = @thang?.getSpriteOptions() or {} + options = @thang?.getSpriteOptions?() or {} options.colorConfig = @options.colorConfig if @options.colorConfig options.async = false @thangType.getSpriteSheet options