mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Should update code when other player changes it again.
This commit is contained in:
parent
74ddb1135a
commit
f2bcf019fa
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ module.exports = class SpellView extends View
|
|||
]
|
||||
@onCodeChangeMetaHandler = =>
|
||||
return if @eventsSuppressed
|
||||
if @spell.hasChangedSignificantly @getSource(), @spellThang.aether.raw
|
||||
if not @spellThang or @spell.hasChangedSignificantly @getSource(), @spellThang.aether.raw
|
||||
callback() for callback in onSignificantChange # Do these first
|
||||
callback() for callback in onAnyChange # Then these
|
||||
@aceDoc.on 'change', @onCodeChangeMetaHandler
|
||||
|
|
Loading…
Reference in a new issue