Skip to content

Commit 885e453

Browse files
authored
Merge pull request phaserjs#4136 from Waclaw-I/dead-particles-pool-fix
Array of dead particles is now being filled up with dead particles.
2 parents 929aca0 + 893310d commit 885e453

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/particles/ParticleEmitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ var ParticleEmitter = new Class({
21112111
}
21122112
}
21132113

2114-
this.dead.concat(rip);
2114+
this.dead = this.dead.concat(rip);
21152115

21162116
StableSort.inplace(particles, this.indexSortCallback);
21172117
}

0 commit comments

Comments
 (0)