fix IsAtGroundLevel always being false for immobile actors
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.Common
|
|||||||
if (self.IsDead)
|
if (self.IsDead)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!self.HasTrait<IPositionable>())
|
if (!self.HasTrait<IOccupySpace>())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!self.IsInWorld)
|
if (!self.IsInWorld)
|
||||||
|
|||||||
Reference in New Issue
Block a user