Switched the level view to grab opponent code from submittedCode instead of code.

This commit is contained in:
Scott Erickson 2014-02-20 16:53:08 -08:00
parent 7261f9960c
commit da0238ceba

View file

@ -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]