Kill some spurious references to Unit

This commit is contained in:
Paul Chote
2010-08-01 00:33:53 +12:00
parent d29e3f3f0e
commit 45e54e1ca8
2 changed files with 1 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Mods.RA
}
self.CancelActivity();
if (self.traits.Contains<Unit>())
if (self.traits.Contains<IFacing>())
self.QueueActivity(new Turn(Info.Facing));
self.QueueActivity(new Transform(self, Info.IntoActor, Info.Offset, Info.Facing, Info.TransformSounds));