Adjust IsAtGroundLevel fixing EjectOnDeath
This commit is contained in:
@@ -21,9 +21,6 @@ namespace OpenRA.Mods.Common
|
|||||||
{
|
{
|
||||||
public static bool IsAtGroundLevel(this Actor self)
|
public static bool IsAtGroundLevel(this Actor self)
|
||||||
{
|
{
|
||||||
if (self.IsDead)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (self.OccupiesSpace == null)
|
if (self.OccupiesSpace == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user