diff --git a/OpenRA.Game/WorldUtils.cs b/OpenRA.Game/WorldUtils.cs index 9e81585228..0dbda74e8d 100755 --- a/OpenRA.Game/WorldUtils.cs +++ b/OpenRA.Game/WorldUtils.cs @@ -176,7 +176,7 @@ namespace OpenRA for( int x = scanStart.X ; x < scanEnd.X ; x++ ) { var at = world.WorldActor.traits.Get().GetBuildingAt( new int2( x, y ) ); - if( at != null && at.Owner == p && at.Info.Traits.Get().BaseNormal) + if( at != null && at.Owner.Stances[ p ] == Stance.Ally && at.Info.Traits.Get().BaseNormal ) nearnessCandidates.Add( new int2( x, y ) ); } }