mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Allow ship log details to be added to vanilla planets
This commit is contained in:
parent
0a54bb2447
commit
fafdb1c48b
@ -219,7 +219,7 @@ namespace NewHorizons.Builder.ShipLog
|
||||
|
||||
foreach (NewHorizonsBody body in bodies)
|
||||
{
|
||||
if (body.Config.ShipLog?.mapMode?.manualNavigationPosition == null) continue;
|
||||
if (body.Config.ShipLog?.mapMode?.manualNavigationPosition == null && body.Config.ShipLog?.mapMode?.details == null) continue;
|
||||
|
||||
// Sometimes they got other names idk
|
||||
var name = body.Config.name.Replace(" ", "");
|
||||
@ -283,6 +283,7 @@ namespace NewHorizons.Builder.ShipLog
|
||||
{
|
||||
gameObject.transform.localScale = Vector3.one * body.Config.ShipLog.mapMode.scale;
|
||||
}
|
||||
MakeDetails(body, gameObject.transform, greyScaleMaterial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user