From 26f11f40a95a3966797a5df1b563941fcd8d8ba0 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Thu, 20 Feb 2014 17:21:15 -0800 Subject: [PATCH] Fix for destroying level. --- app/views/play/level/tome/spell_view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/play/level/tome/spell_view.coffee b/app/views/play/level/tome/spell_view.coffee index 171605f98..808736821 100644 --- a/app/views/play/level/tome/spell_view.coffee +++ b/app/views/play/level/tome/spell_view.coffee @@ -416,7 +416,7 @@ module.exports = class SpellView extends View highlightCurrentLine: (flow) => # TODO: move this whole thing into SpellDebugView or somewhere? - @highlightComments() + @highlightComments() unless @destroyed flow ?= @spellThang?.castAether?.flow return unless flow executed = []