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 = []
|
opponentSpells = []
|
||||||
for spellTeam, spells of @session.get('teamSpells') or {}
|
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
|
opponentSpells = opponentSpells.concat spells
|
||||||
|
|
||||||
otherSession = @levelLoader.opponentSession
|
otherSession = @levelLoader.opponentSession
|
||||||
|
|
Reference in a new issue