From d6d8cf05b04e8a4b4d8a43c38f68dc259129bbcd Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Wed, 23 Aug 2017 16:40:04 +0200 Subject: [PATCH] Adjust IsAtGroundLevel fixing EjectOnDeath --- OpenRA.Mods.Common/ActorExts.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.Common/ActorExts.cs b/OpenRA.Mods.Common/ActorExts.cs index 38b985a83f..c1ce977bd9 100644 --- a/OpenRA.Mods.Common/ActorExts.cs +++ b/OpenRA.Mods.Common/ActorExts.cs @@ -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;