vacate cells earlier
This commit is contained in:
@@ -106,6 +106,8 @@ namespace OpenRA.Traits
|
|||||||
{
|
{
|
||||||
return (fromCell == toCell)
|
return (fromCell == toCell)
|
||||||
? new[] { fromCell }
|
? new[] { fromCell }
|
||||||
|
: CanEnterCell(toCell)
|
||||||
|
? new[] { toCell }
|
||||||
: new[] { fromCell, toCell };
|
: new[] { fromCell, toCell };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user