remove silly exploit on undeploying MCV

This commit is contained in:
Chris Forbes
2010-07-08 21:49:25 +12:00
parent 3093928d95
commit 40ae25c895
2 changed files with 16 additions and 11 deletions

View File

@@ -33,6 +33,7 @@ namespace OpenRA.Mods.RA.Activities
w.Remove(self);
var mcv = w.CreateActor("mcv", self.Location + new int2(1, 1), self.Owner);
mcv.Health = TransformIntoActor.GetHealthToTransfer(self, mcv, true);
mcv.traits.Get<Unit>().Facing = 96;
}