mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
includeFlow only on the currently selected Thang.
This commit is contained in:
parent
d22c716dce
commit
2d9606a8eb
2 changed files with 3 additions and 3 deletions
|
@ -247,9 +247,6 @@ class Angel
|
||||||
clearTimeout @abortTimeout
|
clearTimeout @abortTimeout
|
||||||
@free()
|
@free()
|
||||||
@god.angelAborted @
|
@god.angelAborted @
|
||||||
if @god.dead
|
|
||||||
@worker.terminate()
|
|
||||||
@worker = null
|
|
||||||
when 'reportIn'
|
when 'reportIn'
|
||||||
clearTimeout @condemnTimeout
|
clearTimeout @condemnTimeout
|
||||||
else
|
else
|
||||||
|
|
|
@ -112,6 +112,9 @@ module.exports = class TomeView extends View
|
||||||
@cast()
|
@cast()
|
||||||
|
|
||||||
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
|
Backbone.Mediator.publish 'tome:cast-spells', spells: @spells
|
||||||
|
|
||||||
onToggleSpellList: (e) ->
|
onToggleSpellList: (e) ->
|
||||||
|
|
Loading…
Reference in a new issue