diff --git a/TBot/Program.cs b/TBot/Program.cs index 68ca7803..841e15b0 100644 --- a/TBot/Program.cs +++ b/TBot/Program.cs @@ -687,6 +687,7 @@ private static void AutoBuildCargo(object state) xaSem[(int)Feature.BrainAutobuildCargo].WaitOne(); Helpers.WriteLog(LogType.Info, LogSender.Brain, "Checking capacity..."); celestials = UpdatePlanets(UpdateType.Techs); + celestials = UpdatePlanets(UpdateType.Resources); celestials = UpdatePlanets(UpdateType.Productions); foreach (Celestial planet in celestials) { @@ -784,6 +785,7 @@ private static void AutoRepatriate(object state) xaSem[(int)Feature.BrainAutoRepatriate].WaitOne(); Helpers.WriteLog(LogType.Info, LogSender.Brain, "Reaptriating resources..."); celestials = UpdatePlanets(UpdateType.Techs); + celestials = UpdatePlanets(UpdateType.Resources); var rand = new Random(); foreach (Celestial celestial in settings.Brain.AutoRepatriate.RandomOrder ? celestials.OrderBy(celestial => rand.Next()).ToList() : celestials)