Skip to content

Commit aa80074

Browse files
author
nextht
committed
Emitter.start should Setting quantity Not Adding
I think Emitter.start should Setting quantity Not Adding, maybe "+=" is a mistake?
1 parent 62b7fce commit aa80074

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
@@ -434,7 +434,7 @@ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, f
434434
else
435435
{
436436
this.on = true;
437-
this._quantity += quantity;
437+
this._quantity = quantity;
438438
this._counter = 0;
439439
this._timer = this.game.time.time + frequency * this.game.time.slowMotion;
440440
}

0 commit comments

Comments
 (0)