This commit is contained in:
Nick 2023-08-25 23:58:22 -04:00
parent 9f2ff4b635
commit 8422066e5f

View File

@ -384,7 +384,7 @@ namespace NewHorizons
launchController.enabled = false; launchController.enabled = false;
} }
var nomaiProbe = SearchUtilities.Find("NomaiProbe_Body"); var nomaiProbe = SearchUtilities.Find("NomaiProbe_Body");
if (nomaiProbe != null) nomaiProbe.gameObject.SetActive(false); nomaiProbe?.gameObject.SetActive(false);
} }
// Reset this // Reset this
@ -578,6 +578,7 @@ namespace NewHorizons
} }
// We only check previous when the scene unloads, and at that point current should be updated to the new system // We only check previous when the scene unloads, and at that point current should be updated to the new system
NHLogger.LogVerbose($"Set the previous system to {CurrentStarSystem}");
_previousStarSystem = CurrentStarSystem; _previousStarSystem = CurrentStarSystem;
} }