|
|
@@ -204,7 +204,7 @@ module.exports = { |
|
|
|
return builtEffect; |
|
|
|
}, |
|
|
|
|
|
|
|
syncExtend: function (id, data) { |
|
|
|
syncExtend: function (id, data, self) { |
|
|
|
let effect = this.effects.find(e => e.id === id); |
|
|
|
if (!effect) |
|
|
|
return; |
|
|
@@ -213,7 +213,7 @@ module.exports = { |
|
|
|
if (effect.silent) |
|
|
|
return; |
|
|
|
|
|
|
|
this.obj.syncer.setArray(true, 'effects', 'extendEffects', { |
|
|
|
this.obj.syncer.setArray(self, 'effects', 'extendEffects', { |
|
|
|
id, |
|
|
|
data |
|
|
|
}); |
|
|
|