From 613e7848dc829ac283bf07337bd2246ea873c89c Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Wed, 19 Feb 2014 11:45:29 -0800 Subject: [PATCH] Fixed a bug with the setting of opposing team spells, not to modify anything when there are no specified teams. --- app/views/play/level_view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/play/level_view.coffee b/app/views/play/level_view.coffee index 032e2027f..2b74e854f 100644 --- a/app/views/play/level_view.coffee +++ b/app/views/play/level_view.coffee @@ -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