Merge pull request #4136 from Waclaw-I/dead-particles-pool-fix

Array of dead particles is now being filled up with dead particles.
This commit is contained in:
Richard Davey 2018-11-07 16:15:02 +00:00 committed by GitHub
commit 885e45391c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2111,7 +2111,7 @@ var ParticleEmitter = new Class({
}
}
this.dead.concat(rip);
this.dead = this.dead.concat(rip);
StableSort.inplace(particles, this.indexSortCallback);
}