Fixed a bug with the setting of opposing team spells, not to modify anything when there are no specified teams.

This commit is contained in:
Scott Erickson 2014-02-19 11:45:29 -08:00
parent 86f94cb5fd
commit 613e7848dc

View file

@ -130,7 +130,7 @@ module.exports = class PlayLevelView extends View
opponentSpells = []
for spellTeam, spells of @session.get('teamSpells') or {}
continue if spellTeam is team
continue if spellTeam is team or not team
opponentSpells = opponentSpells.concat spells
otherSession = @levelLoader.opponentSession