made teleport work

This commit is contained in:
Chris Forbes
2009-12-19 13:28:32 +13:00
parent cdea6b642b
commit 571816b7ac
4 changed files with 16 additions and 28 deletions

View File

@@ -38,8 +38,8 @@ namespace OpenRa.Game.Traits
if (order.OrderString == "UsePortableChronoshift" && CanEnterCell(order.TargetLocation, self))
{
//self.QueueActivity(new Activities.Teleport(order.TargetLocation));
Sound.Play("chrotnk1.aud");
self.QueueActivity(new Activities.Teleport(order.TargetLocation));
// Sound.Play("chrotnk1.aud");
chronoshiftActive = false;
remainingChargeTime = chargeTime;
}