mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Try fixing ship having no marker spawned in bramble dimension
This commit is contained in:
parent
1915efc0c2
commit
fe52a13439
@ -65,6 +65,13 @@ namespace NewHorizons.Builder.General
|
|||||||
}
|
}
|
||||||
|
|
||||||
ship.GetRequiredComponent<MatchInitialMotion>().SetBodyToMatch(owRigidBody);
|
ship.GetRequiredComponent<MatchInitialMotion>().SetBodyToMatch(owRigidBody);
|
||||||
|
|
||||||
|
// Might fix #648
|
||||||
|
var fogWarpVolume = planetGO.GetComponentInChildren<OuterFogWarpVolume>();
|
||||||
|
if (fogWarpVolume != null)
|
||||||
|
{
|
||||||
|
ship.GetComponentInChildren<FogWarpDetector>().TrackFogWarpVolume(fogWarpVolume);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
spawnGO.SetActive(true);
|
spawnGO.SetActive(true);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user