mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
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:
parent
86f94cb5fd
commit
613e7848dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue