Skip to content

Commit

Permalink
v2.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Dec 21, 2019
1 parent b1f712b commit 70b13cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions ModelMultiShurikenPersistFX.cs
Expand Up @@ -604,7 +604,13 @@ public void LateUpdate ()

public override void OnInitialize()
{
//Print("Init");
//Print("OnInitialize");

// Ship spawned somehow don't call OnLoad...
if (transformName != string.Empty)
{
OnLoad(null);
}

List<Transform> transforms = new List<Transform>(hostPart.FindModelTransforms(transformName));
if (transforms.Count == 0)
Expand Down Expand Up @@ -750,7 +756,7 @@ private ConfigNode GetEffectConfig()

public override void OnLoad(ConfigNode node)
{
//print("OnLoad :\n" + node);
//print("OnLoad");

// Use the actual part cfg instead of what KSP provides us for 2 reasons:
// - this effect config goes beyond the 7 deep serialization restriction and we get a node without the InputCurves
Expand All @@ -769,6 +775,8 @@ public override void OnLoad(ConfigNode node)
}
}

//print("OnLoad :\n" + node);

emission = new MultiInputCurve("emission");
energy = new MultiInputCurve("energy");
speed = new MultiInputCurve("speed");
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Expand Up @@ -34,5 +34,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.8.8.0")]
[assembly: AssemblyFileVersion("2.8.8.0")]
[assembly: AssemblyVersion("2.8.9.0")]
[assembly: AssemblyFileVersion("2.8.9.0")]

0 comments on commit 70b13cf

Please sign in to comment.