Skip to content

Commit

Permalink
Comment typo and spare space
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Dec 23, 2019
1 parent 44b59d3 commit 9d1bc88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ModelMultiShurikenPersistFX.cs
Expand Up @@ -773,8 +773,8 @@ public override void OnLoad(ConfigNode node)
{
//print("OnLoad");

// Use the actual part cfg instead of what KSP provides u
// - the node provided for the root part after a load/scene change is empty
// Use the actual part cfg instead of what KSP provides because
// the node provided for the root part after a load/scene change is empty
if (HighLogic.LoadedScene != GameScenes.LOADING && !node.HasNode())
{
node = GetEffectConfig();
Expand Down
2 changes: 1 addition & 1 deletion PersistentKSPShurikenEmitter.cs
Expand Up @@ -397,7 +397,7 @@ public void EmitterOnUpdate(Vector3d emitterWorldVelocity)
Emit (i, ParticlesThisFrame);
}
}
Profiler.EndSample ();
Profiler.EndSample();

if (particles == null || pe.main.maxParticles > particles.Length)
particles = new ParticleSystem.Particle[pe.main.maxParticles];
Expand Down

0 comments on commit 9d1bc88

Please sign in to comment.