Stop ghost birds vanishing to center of planet

This commit is contained in:
Nick 2022-08-26 01:06:43 -04:00
parent ac4ef45a82
commit 9d1856a5e8

View File

@ -211,8 +211,11 @@ namespace NewHorizons.Builder.Props
{
// Fix other components
// I forget why this is here
if (component is GhostIK ik) ik.enabled = false;
if (component is GhostEffects effects) effects.enabled = false;
if (component is GhostIK || component is GhostEffects)
{
Component.DestroyImmediate(component);
return;
}
if (component is DarkMatterVolume)
{