Fix the IgnoreActor check in Parachutable

This commit is contained in:
abcdefg30
2019-10-13 19:31:17 +02:00
committed by Paul Chote
parent 69b7ba2d22
commit dd26253905

View File

@@ -102,7 +102,7 @@ namespace OpenRA.Mods.Common.Traits
if (positionable.CanEnterCell(cell, self))
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;
var onWater = info.WaterTerrainTypes.Contains(self.World.Map.GetTerrainInfo(cell).Type);