fix: list check
This commit is contained in:
parent
b4f11a47b9
commit
e3b5603d31
|
@ -187,7 +187,7 @@ export default (latus) => class Emitter extends decorate(Trait) {
|
|||
protonParticle.dead = true;
|
||||
protonParticle.removeAllBehaviours();
|
||||
});
|
||||
if (particle.listed) {
|
||||
if (particle.listed && this.entity.list) {
|
||||
this.entity.list.addEntity(entity);
|
||||
}
|
||||
// Prime.
|
||||
|
|
Loading…
Reference in New Issue
Block a user