public void OnCapture(Actor self, Actor captor, Player oldOwner, Player newOwner) { RemoveGps(self); owner = captor.Owner.PlayerActor.Trait<GpsWatcher>(); owner.GpsAdd(self); }
public GpsPower(Actor self, GpsPowerInfo info) : base(self, info) { owner = self.Owner.PlayerActor.Trait<GpsWatcher>(); owner.GpsAdd(self); }