fix stupid crash

This commit is contained in:
Chris Forbes
2010-04-10 11:24:44 +12:00
parent 7084aa891c
commit 388e871da1

View File

@@ -58,10 +58,8 @@ namespace OpenRA.Mods.Cnc
a.CancelActivity(); a.CancelActivity();
a.QueueActivity(new Fly(order.TargetLocation)); a.QueueActivity(new Fly(order.TargetLocation));
self.QueueActivity(new FlyOffMap { Interruptible = false }); a.QueueActivity(new FlyOffMap { Interruptible = false });
self.QueueActivity(new RemoveSelf()); a.QueueActivity(new RemoveSelf());
// todo: napalm
}); });
Game.controller.CancelInputMode(); Game.controller.CancelInputMode();