Fix config refactoring

This commit is contained in:
Nick Winter 2015-12-23 12:08:07 -08:00
parent d56ba6e1e8
commit 55f7b4a115

View file

@ -120,7 +120,7 @@ module.exports = class Level extends CocoModel
copy = $.extend true, {}, placeholderConfig
programmableProperties = config?.programmableProperties ? []
copy.programmableProperties = _.union programmableProperties, copy.programmableProperties ? []
config = _.merge copy, config
levelThangComponent.config = config = _.merge copy, config
else if placeholderConfig.extraHUDProperties
config.extraHUDProperties = _.union(config.extraHUDProperties ? [], placeholderConfig.extraHUDProperties)
else if placeholderConfig.voiceRange # Pull in voiceRange