diff --git a/NewHorizons/Components/ShipLog/ShipLogStarChartMode.cs b/NewHorizons/Components/ShipLog/ShipLogStarChartMode.cs index 86d6cfa8..cc5636eb 100644 --- a/NewHorizons/Components/ShipLog/ShipLogStarChartMode.cs +++ b/NewHorizons/Components/ShipLog/ShipLogStarChartMode.cs @@ -211,7 +211,7 @@ namespace NewHorizons.Components.ShipLog { if (_starSystemCards.Count == 0) { - NHLogger.LogWarning("Showing star chart mode when there are no avaialble systems"); + NHLogger.LogWarning("Showing star chart mode when there are no available systems"); return; } diff --git a/NewHorizons/Handlers/StarChartHandler.cs b/NewHorizons/Handlers/StarChartHandler.cs index 3435fd19..27844c5b 100644 --- a/NewHorizons/Handlers/StarChartHandler.cs +++ b/NewHorizons/Handlers/StarChartHandler.cs @@ -156,15 +156,20 @@ namespace NewHorizons.Handlers _canExitViaWarpDrive = true; if (!Main.HasWarpDrive) { - Main.Instance.EnableWarpDrive(); + var flagActuallyAddedACard = false; // Add all cards that now work foreach (var starSystem in Main.SystemDict.Keys) { if (CanWarpToSystem(starSystem)) { ShipLogStarChartMode.AddSystemCard(starSystem); + flagActuallyAddedACard = true; } } + if (flagActuallyAddedACard) + { + Main.Instance.EnableWarpDrive(); + } } else {