From 388e871da151f4ff2a495d5100c367d890a58a95 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 10 Apr 2010 11:24:44 +1200 Subject: [PATCH] fix stupid crash --- OpenRA.Mods.Cnc/AirstrikePower.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OpenRA.Mods.Cnc/AirstrikePower.cs b/OpenRA.Mods.Cnc/AirstrikePower.cs index 22b6a84ca3..8710c35d25 100644 --- a/OpenRA.Mods.Cnc/AirstrikePower.cs +++ b/OpenRA.Mods.Cnc/AirstrikePower.cs @@ -58,10 +58,8 @@ namespace OpenRA.Mods.Cnc a.CancelActivity(); a.QueueActivity(new Fly(order.TargetLocation)); - self.QueueActivity(new FlyOffMap { Interruptible = false }); - self.QueueActivity(new RemoveSelf()); - - // todo: napalm + a.QueueActivity(new FlyOffMap { Interruptible = false }); + a.QueueActivity(new RemoveSelf()); }); Game.controller.CancelInputMode();