bring it in line with Rearm
This commit is contained in:
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.RA.Activities
|
|||||||
public override Activity Tick(Actor self)
|
public override Activity Tick(Actor self)
|
||||||
{
|
{
|
||||||
if (IsCanceled) return NextActivity;
|
if (IsCanceled) return NextActivity;
|
||||||
if (host != null && !host.IsInWorld) return NextActivity;
|
if (host == null || !host.IsInWorld) return NextActivity;
|
||||||
|
|
||||||
health = self.TraitOrDefault<Health>();
|
health = self.TraitOrDefault<Health>();
|
||||||
if (health == null) return NextActivity;
|
if (health == null) return NextActivity;
|
||||||
|
|||||||
Reference in New Issue
Block a user