mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 03:47:09 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
41329f26fe
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module.exports = class LevelSessionCodeView extends CocoView
|
|||
teamSpells = @session.get('teamSpells')[team] or []
|
||||
filteredSpells = []
|
||||
for spell in teamSpells
|
||||
code = @session.getSourceFor(spell)
|
||||
code = @session.getSourceFor(spell) ? ''
|
||||
lines = code.split('\n').length
|
||||
height = lines * 16 + 20
|
||||
filteredSpells.push {
|
||||
|
|
Loading…
Reference in a new issue