hooked into Mobile

This commit is contained in:
Chris Forbes
2010-03-29 19:41:58 +13:00
parent 4154543005
commit 78aff19fa2
3 changed files with 9 additions and 2 deletions

View File

@@ -52,6 +52,10 @@ namespace OpenRA.Traits
{
self.World.WorldActor.traits.Get<UnitInfluence>().Remove(self, this);
self.Location = value;
self.World.WorldActor.traits.Get<Shroud>().UpdateActor(self);
// todo: dies
self.Owner.Shroud.Explore(self);
}
self.World.WorldActor.traits.Get<UnitInfluence>().Add(self, this);