Skip to content

Commit

Permalink
Krakensbane scale mandate the use of a double
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Jul 23, 2019
1 parent 3adb9c1 commit 12b6bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PersistentEmitterManager.cs
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions PersistentKSPShurikenEmitter.cs
@@ -1,4 +1,4 @@
/*
/*
* Copyright (c) 2017, Sébastien GAGGINI AKA Sarbian, France
* All rights reserved.
*
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 12b6bfa

Please sign in to comment.