Fixed common programmables not being saved

This commit is contained in:
Michael Schmatz 2014-04-10 14:08:20 -07:00
parent a796d88967
commit e17fbdae73

View file

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