Adjust IsAtGroundLevel fixing EjectOnDeath

This commit is contained in:
abcdefg30
2017-08-23 16:40:04 +02:00
committed by Chris Forbes
parent eed9af88f5
commit d6d8cf05b0

View File

@@ -21,9 +21,6 @@ namespace OpenRA.Mods.Common
{
public static bool IsAtGroundLevel(this Actor self)
{
if (self.IsDead)
return false;
if (self.OccupiesSpace == null)
return false;