mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fixed #480
This commit is contained in:
parent
af265ebee8
commit
fc42043cb8
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue