mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix HN map mode
This commit is contained in:
parent
962a6f778b
commit
7ca82f5546
@ -30,7 +30,7 @@ namespace NewHorizons.Builder.ShipLog
|
|||||||
{
|
{
|
||||||
if (body.Config.ShipLog == null) continue;
|
if (body.Config.ShipLog == null) continue;
|
||||||
|
|
||||||
if (body.Config.ShipLog?.mapMode?.manualPosition == null)
|
if (body.Config.ShipLog?.mapMode != null && body.Config.ShipLog.mapMode.manualPosition == null)
|
||||||
{
|
{
|
||||||
flagAutoPositionUsed = true;
|
flagAutoPositionUsed = true;
|
||||||
}
|
}
|
||||||
@ -45,6 +45,12 @@ namespace NewHorizons.Builder.ShipLog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If they're both false, just default to auto (this means that no planets even have ship log info)
|
||||||
|
if (!flagManualPositionUsed && !flagAutoPositionUsed)
|
||||||
|
{
|
||||||
|
flagAutoPositionUsed = true;
|
||||||
|
}
|
||||||
|
|
||||||
var isBaseSolarSystem = systemName == "SolarSystem";
|
var isBaseSolarSystem = systemName == "SolarSystem";
|
||||||
|
|
||||||
// Default to MANUAL in Base Solar System (we can't automatically fix them so it might just break, but AUTO breaks even more!)
|
// Default to MANUAL in Base Solar System (we can't automatically fix them so it might just break, but AUTO breaks even more!)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user