Fixed initialReveal and curiosity colors

This commit is contained in:
Ben C 2022-02-08 16:17:18 -05:00
parent 3d200a19db
commit cfdf22d341

View File

@ -90,12 +90,6 @@ namespace NewHorizons.Tools
}
public static bool OnShipLogManagerStart(ShipLogManager __instance)
{
if (Main.Instance.CurrentStarSystem == "SolarSystem")
{
return true;
}
else
{
foreach (NewHorizonsBody body in Main.BodyDict[Main.Instance.CurrentStarSystem])
{
@ -104,6 +98,12 @@ namespace NewHorizons.Tools
__instance.RevealFact(fact, false, false);
}
}
if (Main.Instance.CurrentStarSystem == "SolarSystem")
{
return true;
}
else
{
EntryLocationBuilder.InitializeLocations();
return false;
}
@ -111,7 +111,7 @@ namespace NewHorizons.Tools
public static bool OnUIStyleManagerGetCuriosityColor(UIStyleManager __instance, CuriosityName __0, bool __1, ref Color __result)
{
if (Main.Instance.CurrentStarSystem == "SolarSystem")
if ((int)__0 < 7)
{
return true;
}