diff --git a/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs b/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs index 5bcd4e7670..d3ee76deb8 100644 --- a/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs +++ b/OpenRA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs @@ -87,7 +87,9 @@ namespace OpenRA.Mods.Common.Traits domainIndex = world.WorldActor.Trait(); resLayer = world.WorldActor.TraitOrDefault(); claimLayer = world.WorldActor.TraitOrDefault(); - scanForIdleHarvestersTicks = Info.ScanForIdleHarvestersInterval; + + // Avoid all AIs scanning for idle harvesters on the same tick, randomize their initial scan delay. + scanForIdleHarvestersTicks = world.LocalRandom.Next(Info.ScanForIdleHarvestersInterval, Info.ScanForIdleHarvestersInterval * 2); } void IBotTick.BotTick(IBot bot)