diff --git a/Galaxy at War/Core.cs b/Galaxy at War/Core.cs index 4ce6a17..5760d0c 100644 --- a/Galaxy at War/Core.cs +++ b/Galaxy at War/Core.cs @@ -177,8 +177,10 @@ public static void Postfix(SimGameState __instance) } if (!WarStatus.HotBoxTravelling && !WarStatus.HotBox.Contains(sim.CurSystem.Name) && !HasFlashpoint) { + NeedsProcessing = true; var cmdCenter = UnityGameInstance.BattleTechGame.Simulation.RoomManager.CmdCenterRoom; sim.CurSystem.GenerateInitialContracts(() => Traverse.Create(cmdCenter).Method("OnContractsFetched")); + NeedsProcessing = false; } } @@ -299,12 +301,6 @@ internal static void WarTick(bool UseFullSet, bool CheckForSystemChange) WarStatus.SystemChangedOwners.Clear(); - if (WarStatus.StartGameInitialized) - { - Galaxy_at_War.HotSpots.ProcessHotSpots(); - } - - //Log("==================================================="); //Log("TESTING ZONE"); diff --git a/Galaxy at War/HotSpots.cs b/Galaxy at War/HotSpots.cs index c7d528c..ade85dd 100644 --- a/Galaxy at War/HotSpots.cs +++ b/Galaxy at War/HotSpots.cs @@ -519,8 +519,10 @@ public static void CompleteEscalation() } if (!HasFlashpoint) { + Core.NeedsProcessing = true; var cmdCenter = UnityGameInstance.BattleTechGame.Simulation.RoomManager.CmdCenterRoom; sim.CurSystem.GenerateInitialContracts(() => Traverse.Create(cmdCenter).Method("OnContractsFetched")); + Core.NeedsProcessing = false; } }