Commit d01ab10d authored by Big Bad Waffle's avatar Big Bad Waffle

added an object event when an effect is added to an object

parent 0fb4be8d
......@@ -192,6 +192,8 @@ module.exports = {
this.obj.syncer.setArray(false, 'effects', 'addEffects', options.type);
this.obj.instance.eventEmitter.emit('onAddEffect', this.obj, builtEffect);
return builtEffect;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment