From 35d49a1c47dd92e44642526f530dadef014156f1 Mon Sep 17 00:00:00 2001 From: Richard Griffiths Date: Tue, 2 Jun 2020 11:03:33 +0200 Subject: [PATCH] Readd warning --- .../CustomContractTypes/SimGameStateFilterActiveMapsPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Patches/CustomContractTypes/SimGameStateFilterActiveMapsPatch.cs b/src/Patches/CustomContractTypes/SimGameStateFilterActiveMapsPatch.cs index e0997ec5..02c2dd98 100644 --- a/src/Patches/CustomContractTypes/SimGameStateFilterActiveMapsPatch.cs +++ b/src/Patches/CustomContractTypes/SimGameStateFilterActiveMapsPatch.cs @@ -112,7 +112,7 @@ private static void FilterOnMapsWithEncountersWithValidContractRequirements(SimG // If there are no more active maps, reset the biomes/maps list if (activeMaps.Count <= 0) { - // Main.Logger.LogWarning($"[FilterOnMapsWithEncountersWithValidContractRequirements] No valid map/encounter combinations. Clearing map discard pile. WARNING: MapEncounters unfiltered by MC being used. Potential for infinite loading issue. If you see this from an infinite load freeze - inform CWolf from Mission Control"); + Main.Logger.LogWarning($"[FilterOnMapsWithEncountersWithValidContractRequirements] No valid map/encounter combinations. Clearing map discard pile. WARNING: MapEncounters unfiltered by MC being used. Potential for infinite loading issue. If you see this from an infinite load freeze - inform CWolf from Mission Control"); List mapDiscardPile = (List)AccessTools.Field(typeof(SimGameState), "mapDiscardPile").GetValue(simGameState); mapDiscardPile.Clear();