Skip to content

Commit

Permalink
fix repair semantics for vehicles on FIX; fix #138
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Sep 12, 2010
1 parent 10a1f7e commit 8dbbaca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenRA.Mods.RA/Activities/Repair.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class Repair : IActivity
public IActivity Tick(Actor self)
{
if (isCanceled) return NextActivity;
if (host != null && !host.IsInWorld) return NextActivity;
if (remainingTicks == 0)
{
var health = self.TraitOrDefault<Health>();
Expand Down

0 comments on commit 8dbbaca

Please sign in to comment.