mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Switched the level view to grab opponent code from submittedCode instead of code.
This commit is contained in:
parent
7261f9960c
commit
da0238ceba
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ module.exports = class PlayLevelView extends View
|
||||||
opponentSpells = opponentSpells.concat spells
|
opponentSpells = opponentSpells.concat spells
|
||||||
|
|
||||||
otherSession = @levelLoader.opponentSession
|
otherSession = @levelLoader.opponentSession
|
||||||
opponentCode = otherSession?.get('code') or {}
|
opponentCode = otherSession?.get('submittedCode') or {}
|
||||||
myCode = @session.get('code') or {}
|
myCode = @session.get('code') or {}
|
||||||
for spell in opponentSpells
|
for spell in opponentSpells
|
||||||
c = opponentCode[spell]
|
c = opponentCode[spell]
|
||||||
|
|
Loading…
Reference in a new issue