mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Stop ghost birds vanishing to center of planet
This commit is contained in:
parent
ac4ef45a82
commit
9d1856a5e8
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user