mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Thangs can now respect custom Component colorization.
This commit is contained in:
parent
31953660f4
commit
688a8dc624
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ module.exports = class Thang
|
|||
options.colorConfig.team = teamColor
|
||||
if @color and color = @grabColorConfig @color
|
||||
options.colorConfig.color = color
|
||||
if @colors
|
||||
options.colorConfig[colorType] = colorValue for colorType, colorValue of @colors
|
||||
options
|
||||
|
||||
grabColorConfig: (color) ->
|
||||
|
|
Loading…
Reference in a new issue