mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -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
|
||||
@free()
|
||||
@god.angelAborted @
|
||||
if @god.dead
|
||||
@worker.terminate()
|
||||
@worker = null
|
||||
when 'reportIn'
|
||||
clearTimeout @condemnTimeout
|
||||
else
|
||||
|
|
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue