Remove unnecessary and incorrect cell check.
This caused all cells inside the map to be treated as valid parachute targets, ignoring all later checks.
This commit is contained in:
@@ -64,9 +64,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return;
|
||||
|
||||
var cell = self.Location;
|
||||
if (self.World.Map.Contains(cell))
|
||||
return;
|
||||
|
||||
if (positionable.CanEnterCell(cell, self))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user