From 208cfa9542aa18efb3f121f93a489aa831bc998e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 9 Aug 2015 11:45:25 +0200 Subject: [PATCH] fix IsAtGroundLevel always being false for immobile actors --- OpenRA.Mods.Common/ActorExts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/ActorExts.cs b/OpenRA.Mods.Common/ActorExts.cs index 6ea703db00..1667ac176a 100644 --- a/OpenRA.Mods.Common/ActorExts.cs +++ b/OpenRA.Mods.Common/ActorExts.cs @@ -23,7 +23,7 @@ namespace OpenRA.Mods.Common if (self.IsDead) return false; - if (!self.HasTrait()) + if (!self.HasTrait()) return false; if (!self.IsInWorld)