mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Fixed common programmables not being saved
This commit is contained in:
parent
a796d88967
commit
e17fbdae73
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module.exports = class LevelBus extends Bus
|
|||
@changedSessionProperties.teamSpells = true
|
||||
@session.set({'teamSpells': @teamSpellMap})
|
||||
@saveSession()
|
||||
if spellTeam is me.team
|
||||
if spellTeam is me.team or spellTeam is "common"
|
||||
@onSpellChanged e # Save the new spell to the session, too.
|
||||
|
||||
onScriptStateChanged: (e) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue