mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fix config refactoring
This commit is contained in:
parent
d56ba6e1e8
commit
55f7b4a115
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ module.exports = class Level extends CocoModel
|
||||||
copy = $.extend true, {}, placeholderConfig
|
copy = $.extend true, {}, placeholderConfig
|
||||||
programmableProperties = config?.programmableProperties ? []
|
programmableProperties = config?.programmableProperties ? []
|
||||||
copy.programmableProperties = _.union programmableProperties, copy.programmableProperties ? []
|
copy.programmableProperties = _.union programmableProperties, copy.programmableProperties ? []
|
||||||
config = _.merge copy, config
|
levelThangComponent.config = config = _.merge copy, config
|
||||||
else if placeholderConfig.extraHUDProperties
|
else if placeholderConfig.extraHUDProperties
|
||||||
config.extraHUDProperties = _.union(config.extraHUDProperties ? [], placeholderConfig.extraHUDProperties)
|
config.extraHUDProperties = _.union(config.extraHUDProperties ? [], placeholderConfig.extraHUDProperties)
|
||||||
else if placeholderConfig.voiceRange # Pull in voiceRange
|
else if placeholderConfig.voiceRange # Pull in voiceRange
|
||||||
|
|
Loading…
Reference in a new issue