mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -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
|
||||
|
||||
otherSession = @levelLoader.opponentSession
|
||||
opponentCode = otherSession?.get('code') or {}
|
||||
opponentCode = otherSession?.get('submittedCode') or {}
|
||||
myCode = @session.get('code') or {}
|
||||
for spell in opponentSpells
|
||||
c = opponentCode[spell]
|
||||
|
|
Loading…
Reference in a new issue