Fixed typo in LevelSession busting readyToRank check.

This commit is contained in:
Nick Winter 2015-02-17 11:51:52 -08:00
parent 7d582b5cfa
commit f308379453

View file

@ -31,7 +31,7 @@ module.exports = class LevelSession extends CocoModel
return false unless team = @get('team')
return true unless c2 = @get('submittedCode')
thangSpellArr = (s.split('/') for s in @get('teamSpells')[team])
for item in thangSpellAr
for item in thangSpellArr
thang = item[0]
spell = item[1]
return true if c1[thang][spell] isnt c2[thang]?[spell]