mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Destroy sun station debris properly
This commit is contained in:
parent
65613fe64f
commit
87c859728e
@ -111,9 +111,6 @@ namespace NewHorizons.Utility
|
|||||||
otherChildren.Add(GameObject.Find("FakeCannonBarrel_Body (1)"));
|
otherChildren.Add(GameObject.Find("FakeCannonBarrel_Body (1)"));
|
||||||
otherChildren.Add(GameObject.Find("Debris_Body (1)"));
|
otherChildren.Add(GameObject.Find("Debris_Body (1)"));
|
||||||
break;
|
break;
|
||||||
case AstroObject.Name.SunStation:
|
|
||||||
otherChildren.Add(GameObject.Find("SS_Debris_Body"));
|
|
||||||
break;
|
|
||||||
case AstroObject.Name.GiantsDeep:
|
case AstroObject.Name.GiantsDeep:
|
||||||
otherChildren.Add(GameObject.Find("BrambleIsland_Body"));
|
otherChildren.Add(GameObject.Find("BrambleIsland_Body"));
|
||||||
otherChildren.Add(GameObject.Find("GabbroIsland_Body"));
|
otherChildren.Add(GameObject.Find("GabbroIsland_Body"));
|
||||||
@ -134,6 +131,10 @@ namespace NewHorizons.Utility
|
|||||||
otherChildren.Add(GameObject.Find("BackRaft_Body"));
|
otherChildren.Add(GameObject.Find("BackRaft_Body"));
|
||||||
otherChildren.Add(GameObject.Find("SealRaft_Body"));
|
otherChildren.Add(GameObject.Find("SealRaft_Body"));
|
||||||
break;
|
break;
|
||||||
|
// For some dumb reason the sun station doesn't use AstroObject.Name.SunStation
|
||||||
|
case AstroObject.Name.CustomString:
|
||||||
|
if(primary._customName.Equals("Sun Station")) otherChildren.Add(GameObject.Find("SS_Debris_Body"));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user