includeFlow only on the currently selected Thang.

This commit is contained in:
Nick Winter 2014-02-11 12:16:53 -08:00
parent d22c716dce
commit 2d9606a8eb
2 changed files with 3 additions and 3 deletions

View file

@ -247,9 +247,6 @@ class Angel
clearTimeout @abortTimeout
@free()
@god.angelAborted @
if @god.dead
@worker.terminate()
@worker = null
when 'reportIn'
clearTimeout @condemnTimeout
else

View file

@ -112,6 +112,9 @@ module.exports = class TomeView extends View
@cast()
cast: ->
for spellKey, spell of @spells
for thangID, spellThang of spell.thangs
spellThang.aether.options.includeFlow = spellThang.aether.originalOptions.includeFlow = spellThang is @spellView?.spellThang
Backbone.Mediator.publish 'tome:cast-spells', spells: @spells
onToggleSpellList: (e) ->