mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Fixed a small bug with building sprite sheets.
This commit is contained in:
parent
dad21e0338
commit
3dfe99045b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
toString: -> "<CocoSprite: #{@thang?.id}>"
|
||||
|
||||
buildSpriteSheet: ->
|
||||
options = @thang?.getSpriteOptions() or {}
|
||||
options = @thang?.getSpriteOptions?() or {}
|
||||
options.colorConfig = @options.colorConfig if @options.colorConfig
|
||||
options.async = false
|
||||
@thangType.getSpriteSheet options
|
||||
|
|
Loading…
Reference in a new issue