Shift Actor.Health onto a trait.
Known regressions: - cnc only - health bar colors - can't repair buildings
This commit is contained in:
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.Cnc
|
||||
a.QueueActivity(new Land(self));
|
||||
a.QueueActivity(new CallFunc(() =>
|
||||
{
|
||||
if (self.IsDead)
|
||||
if (self.IsDead())
|
||||
return;
|
||||
|
||||
var actor = cargo.Unload(self);
|
||||
|
||||
Reference in New Issue
Block a user