mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make eye coordinate prompt trigger active at eye
This commit is contained in:
parent
2d619a58c2
commit
be9a003768
@ -419,6 +419,10 @@ namespace NewHorizons
|
||||
vessel_ss._streamingGroup = eyeSector.gameObject.FindChild("StreamingGroup_EYE").GetComponent<StreamingGroup>();
|
||||
vessel_ss.SetSector(vesselSector);
|
||||
|
||||
var eyeCoordinatePromptTrigger = vesselSector.GetComponentInChildren<EyeCoordinatePromptTrigger>(true);
|
||||
eyeCoordinatePromptTrigger._warpController = eyeCoordinatePromptTrigger.GetComponentInParent<VesselWarpController>();
|
||||
eyeCoordinatePromptTrigger.gameObject.SetActive(true);
|
||||
|
||||
var solarSystemRoot = SearchUtilities.Find("SolarSystemRoot");
|
||||
|
||||
// Disable forest and observatory so that a custom body doesn't accidentally pass through them. (they are 6.5km away from eye)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user