Skip to content

Commit

Permalink
Trying to fix a scatterer issue
Browse files Browse the repository at this point in the history
StollD committed Nov 15, 2018
1 parent 9e1c5ac commit abf47e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Kopernicus/RuntimeUtility/MainMenuFixer.cs
Original file line number Diff line number Diff line change
@@ -136,7 +136,8 @@ void Start()
GameObject menuPlanet = Instantiate(Utility
.FindBody(PSystemManager.Instance.systemPrefab.rootBody, planetCB.transform.name).scaledVersion);
menuPlanet.transform.parent = space.transform;

menuPlanet.name = planetCB.transform.name;

// Destroy stuff
DestroyImmediate(menuPlanet.GetComponent<ScaledSpaceFader>());
DestroyImmediate(menuPlanet.GetComponent<SphereCollider>());

0 comments on commit abf47e0

Please sign in to comment.