Skip to content

Commit

Permalink
Readd warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CWolfs committed Jun 2, 2020
1 parent 1d3ae91 commit 35d49a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> mapDiscardPile = (List<string>)AccessTools.Field(typeof(SimGameState), "mapDiscardPile").GetValue(simGameState);
mapDiscardPile.Clear();

Expand Down

0 comments on commit 35d49a1

Please sign in to comment.