diff --git a/PersistentEmitterManager.cs b/PersistentEmitterManager.cs index c985150..213b11b 100644 --- a/PersistentEmitterManager.cs +++ b/PersistentEmitterManager.cs @@ -129,7 +129,7 @@ private void LateUpdate() i--; } // if not and the transform parent is null ( Emitter detached from part so the particle are not removed instantly ) - // then the emitter won't be updated by the effect FixedUpdate Call. So update it here + // then the emitter won't be updated by the effect Update Call. So update it here else if (em.emitOnUpdate && em.go.transform.parent == null) { em.EmitterOnUpdate(Vector3.zero); diff --git a/PersistentKSPShurikenEmitter.cs b/PersistentKSPShurikenEmitter.cs index ebac043..0967b5d 100644 --- a/PersistentKSPShurikenEmitter.cs +++ b/PersistentKSPShurikenEmitter.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2017, Sébastien GAGGINI AKA Sarbian, France * All rights reserved. * @@ -329,7 +329,7 @@ private void Emit (int ThisInUpdate, int TotalInUpdate) } // Update the particles of the Emitter : Emit, resize, collision and physic - public void EmitterOnUpdate(Vector3 emitterWorldVelocity) + public void EmitterOnUpdate(Vector3d emitterWorldVelocity) { if (pe == null) return;