mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
bc08d98e4a
2 changed files with 4 additions and 1 deletions
|
@ -123,6 +123,9 @@ module.exports = class Level extends CocoModel
|
|||
else if placeholderConfig.extraHUDProperties
|
||||
levelThangComponent.config ?= {}
|
||||
levelThangComponent.config.extraHUDProperties = _.union(levelThangComponent.config.extraHUDProperties ? [], placeholderConfig.extraHUDProperties)
|
||||
else if placeholderConfig.voiceRange # Pull in voiceRange
|
||||
levelThangComponent.config ?= {}
|
||||
levelThangComponent.config.voiceRange = placeholderConfig.voiceRange
|
||||
|
||||
if isHero
|
||||
if equips = _.find levelThang.components, {original: LevelComponent.EquipsID}
|
||||
|
|
|
@ -201,7 +201,7 @@ module.exports = class CampaignEditorView extends RootView
|
|||
|
||||
onCampaignLevelClicked: (levelOriginal) ->
|
||||
return unless levelTreema = @treema.childrenTreemas?.levels?.childrenTreemas?[levelOriginal]
|
||||
if key.ctrl
|
||||
if key.ctrl or key.command
|
||||
url = "/editor/level/#{levelTreema.data.slug}"
|
||||
window.open url, '_blank'
|
||||
levelTreema.select()
|
||||
|
|
Loading…
Reference in a new issue