From 3dfe99045baac33daef016146bf9e950855ee1e6 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Mon, 20 Jan 2014 12:55:44 -0800 Subject: [PATCH] Fixed a small bug with building sprite sheets. --- app/lib/surface/CocoSprite.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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