Fix for destroying level.

This commit is contained in:
Nick Winter 2014-02-20 17:21:15 -08:00
parent 4e5ecb0c9e
commit 26f11f40a9

View file

@ -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 = []