diff --git a/app/models/ThangType.coffee b/app/models/ThangType.coffee index 62f9eaa4e..b28bea773 100644 --- a/app/models/ThangType.coffee +++ b/app/models/ThangType.coffee @@ -157,7 +157,8 @@ module.exports = class ThangType extends CocoModel for groupName, config of options.colorConfig or {} colorConfigs.push "#{groupName}:#{config.hue}|#{config.saturation}|#{config.lightness}" colorConfigs = colorConfigs.join ',' - "#{@get('name')} - #{options.resolutionFactor} - #{colorConfigs}" + portraitOnly = !!options.portraitOnly + "#{@get('name')} - #{options.resolutionFactor} - #{colorConfigs} - #{portraitOnly}" getPortraitImage: (spriteOptionsOrKey, size=100) -> src = @getPortraitSource(spriteOptionsOrKey, size)