Fix McvExpansionManagerBotModule on CheckCurrentLocation mode.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
70243850b1
commit
bb2a44705f
@@ -109,7 +109,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
IBotRequestUnitProduction[] requestUnitProduction;
|
||||
IBotSuggestRefineryProduction[] suggestRefineryProduction;
|
||||
|
||||
readonly Dictionary<Actor, CPos> activeMCVs = [];
|
||||
readonly Dictionary<Actor, CPos?> 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)
|
||||
|
||||
Reference in New Issue
Block a user