mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 10:18:42 +00:00
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:
commit
885e45391c
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ var ParticleEmitter = new Class({
|
|||
}
|
||||
}
|
||||
|
||||
this.dead.concat(rip);
|
||||
this.dead = this.dead.concat(rip);
|
||||
|
||||
StableSort.inplace(particles, this.indexSortCallback);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue