mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fixed a bug with the coloring of avatars in the hud.
This commit is contained in:
parent
eccabd2dc5
commit
d9b86b84dc
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ module.exports = class HUDView extends View
|
|||
createAvatar: (thangType, thang, colorConfig) ->
|
||||
options = thang.getSpriteOptions() or {}
|
||||
options.async = false
|
||||
options.colorConfig = colorConfig
|
||||
options.colorConfig = colorConfig if colorConfig
|
||||
stage = thangType.getPortraitStage options
|
||||
wrapper = @$el.find '.thang-canvas-wrapper'
|
||||
newCanvas = $(stage.canvas).addClass('thang-canvas')
|
||||
|
|
Loading…
Reference in a new issue