diff --git a/OpenRA.Mods.Common/Traits/World/DomainIndex.cs b/OpenRA.Mods.Common/Traits/World/DomainIndex.cs index f7ec45354a..4456dcd8c1 100644 --- a/OpenRA.Mods.Common/Traits/World/DomainIndex.cs +++ b/OpenRA.Mods.Common/Traits/World/DomainIndex.cs @@ -98,13 +98,15 @@ namespace OpenRA.Mods.Common.Traits { var neighborDomain = domains[n]; if (CanTraverseTile(world, n)) + { neighborDomains.Add(neighborDomain); - // Set ourselves to the first non-dirty neighbor we find. - if (!found) - { - domains[cell] = neighborDomain; - found = true; + // Set ourselves to the first non-dirty neighbor we find. + if (!found) + { + domains[cell] = neighborDomain; + found = true; + } } } }