fix: API
This commit is contained in:
parent
38d72aa5fd
commit
69cb73d643
|
@ -181,7 +181,7 @@ export default (latus) => class Emitter extends decorate(Trait) {
|
|||
behaviors,
|
||||
);
|
||||
entity.on('destroy', () => {
|
||||
this.#emitter.removeParticle(protonParticle);
|
||||
protonParticle.destroy();
|
||||
});
|
||||
if (particle.listed) {
|
||||
this.entity.list.addEntity(entity);
|
||||
|
|
Loading…
Reference in New Issue
Block a user