Fix the IgnoreActor check in Parachutable
This commit is contained in:
@@ -102,7 +102,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
if (positionable.CanEnterCell(cell, self))
|
if (positionable.CanEnterCell(cell, self))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (IgnoreActor != null && self.World.ActorMap.GetActorsAt(cell).Any(a => a != IgnoreActor))
|
if (IgnoreActor != null && !self.World.ActorMap.GetActorsAt(cell).Any(a => a != IgnoreActor))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var onWater = info.WaterTerrainTypes.Contains(self.World.Map.GetTerrainInfo(cell).Type);
|
var onWater = info.WaterTerrainTypes.Contains(self.World.Map.GetTerrainInfo(cell).Type);
|
||||||
|
|||||||
Reference in New Issue
Block a user