Fix quantum shiplog mapmode

This commit is contained in:
Nick 2022-05-11 23:17:17 -04:00
parent 0a548d5f12
commit 50f898e0c7

View File

@ -21,7 +21,7 @@ namespace NewHorizons.Builder.ShipLog
{ {
Material greyScaleMaterial = GameObject.Find(ShipLogHandler.PAN_ROOT_PATH + "/TimberHearth/Sprite").GetComponent<Image>().material; Material greyScaleMaterial = GameObject.Find(ShipLogHandler.PAN_ROOT_PATH + "/TimberHearth/Sprite").GetComponent<Image>().material;
List<NewHorizonsBody> bodies = Main.BodyDict[systemName].Where( List<NewHorizonsBody> bodies = Main.BodyDict[systemName].Where(
b => (b.Config.ShipLog?.mapMode?.remove ?? false) == false b => !(b.Config.ShipLog?.mapMode?.remove ?? false) && !b.Config.IsQuantumState
).ToList(); ).ToList();
bool flagManualPositionUsed = systemName == "SolarSystem"; bool flagManualPositionUsed = systemName == "SolarSystem";
bool flagAutoPositionUsed = false; bool flagAutoPositionUsed = false;