fixed #2286 - chrono kills passengers on return too
This commit is contained in:
@@ -52,12 +52,10 @@ namespace OpenRA.Mods.RA
|
||||
if (order.OrderString == "ChronoshiftSelf" && movement.CanEnterCell(order.TargetLocation))
|
||||
{
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
{
|
||||
self.World.CancelInputMode();
|
||||
}
|
||||
|
||||
self.CancelActivity();
|
||||
self.QueueActivity(new Teleport(order.TargetLocation));
|
||||
self.QueueActivity(new Teleport(null, order.TargetLocation, true));
|
||||
Sound.Play("chrotnk1.aud", self.CenterLocation);
|
||||
Sound.Play("chrotnk1.aud", order.TargetLocation.ToPPos());
|
||||
chargeTick = 25 * self.Info.Traits.Get<ChronoshiftDeployInfo>().ChargeTime;
|
||||
|
||||
Reference in New Issue
Block a user