Skip to content

Commit 29dbbca

Browse files
Fix Particle Emitters when using Emitter width/height
1 parent e77dba4 commit 29dbbca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/particles/arcade/Emitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () {
358358

359359
if (this.width > 1 || this.height > 1)
360360
{
361-
particle.reset(this.emiteX - this.game.rnd.integerInRange(this.left, this.right), this.emiteY - this.game.rnd.integerInRange(this.top, this.bottom));
361+
particle.reset(this.game.rnd.integerInRange(this.left, this.right), this.game.rnd.integerInRange(this.top, this.bottom));
362362
}
363363
else
364364
{

0 commit comments

Comments
 (0)