Skip to content

Commit

Permalink
new release. Bugfix from latest bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GER-Space committed Jan 23, 2019
1 parent f5268e3 commit 457555f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Binary file modified GameData/KerbalKonstructs/KerbalKonstructs.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion GameData/KerbalKonstructs/KerbalKonstructs.version
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"MAJOR":1,
"MINOR":4,
"PATCH":5,
"BUILD":53
"BUILD":54
},
"KSP_VERSION":
{
Expand Down
11 changes: 8 additions & 3 deletions src/Core/SquadStatics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,15 @@ public static void LoadSquadAnomalies()
model.isSquad = true;

// we reference only the original prefab, as we cannot instantiate an instance for some reason
model.prefab = pqs.gameObject;
//model.prefab = GameObject.Instantiate(pqs.gameObject);
//GameObject.DontDestroyOnLoad(model.prefab);
//model.prefab = pqs.gameObject;
model.prefab = GameObject.Instantiate(pqs.gameObject);
GameObject.DontDestroyOnLoad(model.prefab);
//model.prefab.SetActive(false);
// activate them
foreach (Transform child in model.prefab.GetComponentsInChildren<Transform>(true))
{
child.gameObject.SetActive(true);
}

StaticDatabase.RegisterModel(model, modelName);
}
Expand Down
5 changes: 0 additions & 5 deletions src/Core/StaticObjects/InstanceUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ internal static void MangleSquadStatic(StaticInstance instance)
}
}

// activate them
foreach (Transform child in gameObject.GetComponentsInChildren<Transform>(true))
{
child.gameObject.SetActive(true);
}
//instance.gameObject.tag = String.Empty;

//foreach (Transform transform in gameObject.transform.GetComponentsInChildren<Transform>(true))
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("1.4.5.53")]
[assembly: AssemblyInformationalVersion("1.4.5.53")]
[assembly: AssemblyFileVersion("1.4.5.54")]
[assembly: AssemblyInformationalVersion("1.4.5.54")]
[assembly: KSPAssembly("KerbalKonstructs", 0, 9)]

0 comments on commit 457555f

Please sign in to comment.