mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 22:48:34 +00:00
Fix some typos in ParticleEmitter
This commit is contained in:
parent
b85c1774f2
commit
7580288ddf
1 changed files with 4 additions and 4 deletions
|
@ -245,8 +245,8 @@ var ParticleEmitter = new Class({
|
|||
|
||||
explode: function (count)
|
||||
{
|
||||
if (!count) count = 100;
|
||||
this.emitParticle(100);
|
||||
if (!count) { count = 100; }
|
||||
this.emitParticle(count);
|
||||
},
|
||||
|
||||
setShape: function (shape)
|
||||
|
@ -254,7 +254,7 @@ var ParticleEmitter = new Class({
|
|||
this.emitShape = shape;
|
||||
},
|
||||
|
||||
emitParticle: function(count)
|
||||
emitParticle: function (count)
|
||||
{
|
||||
count = count || 1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue