From bb2a44705f4702a85e8c2ccb782f7c6656b4b251 Mon Sep 17 00:00:00 2001 From: dnqbob Date: Wed, 29 Oct 2025 12:28:11 +0800 Subject: [PATCH] Fix McvExpansionManagerBotModule on CheckCurrentLocation mode. --- .../Traits/BotModules/McvExpansionManagerBotModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/BotModules/McvExpansionManagerBotModule.cs b/OpenRA.Mods.Common/Traits/BotModules/McvExpansionManagerBotModule.cs index a44f146d1e..c16a122500 100644 --- a/OpenRA.Mods.Common/Traits/BotModules/McvExpansionManagerBotModule.cs +++ b/OpenRA.Mods.Common/Traits/BotModules/McvExpansionManagerBotModule.cs @@ -109,7 +109,7 @@ namespace OpenRA.Mods.Common.Traits IBotRequestUnitProduction[] requestUnitProduction; IBotSuggestRefineryProduction[] suggestRefineryProduction; - readonly Dictionary activeMCVs = []; + readonly Dictionary activeMCVs = []; PathFinder pathfinder; ResourceMapBotModule resourceMapModule; @@ -667,7 +667,7 @@ namespace OpenRA.Mods.Common.Traits if (desiredLocation == null) return; - activeMCVs[mcv] = checkloc.Value; + activeMCVs[mcv] = checkloc; if (resLoc != null) { foreach (var srp in suggestRefineryProduction)