mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -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 = =>
|
@onCodeChangeMetaHandler = =>
|
||||||
return if @eventsSuppressed
|
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 onSignificantChange # Do these first
|
||||||
callback() for callback in onAnyChange # Then these
|
callback() for callback in onAnyChange # Then these
|
||||||
@aceDoc.on 'change', @onCodeChangeMetaHandler
|
@aceDoc.on 'change', @onCodeChangeMetaHandler
|
||||||
|
|
Loading…
Reference in a new issue