Rename ActorMap *UnitsAt* occurences to *ActorsAt*
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
This commit is contained in:
@@ -149,7 +149,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
// Don't drop on any actors
|
||||
if (self.World.WorldActor.Trait<BuildingInfluence>().GetBuildingAt(p) != null
|
||||
|| self.World.ActorMap.GetUnitsAt(p).Any())
|
||||
|| self.World.ActorMap.GetActorsAt(p).Any())
|
||||
continue;
|
||||
|
||||
return p;
|
||||
|
||||
Reference in New Issue
Block a user