Browse Source

Update babylon.particleSystem.js

KK 9 years ago
parent
commit
bcf248e30c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Particles/babylon.particleSystem.js

+ 1 - 1
src/Particles/babylon.particleSystem.js

@@ -332,7 +332,7 @@ var BABYLON;
         ParticleSystem.prototype.serialize = function () {
             var serializationObject = {};
             serializationObject.name = this.name;
-            if (this.emittor.position) {
+            if (this.emitter.position) {
                 serializationObject.emitterId = this.emitter.id;
             } else {
                 serializationObject.emitter = this.emitter.asArray();