From ba16424bc1a97216d27432422ca72d20a0c821e0 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 28 Dec 2009 10:07:53 +1300 Subject: [PATCH] oops; that wasnt right ;) --- OpenRa.Game/Actor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Actor.cs b/OpenRa.Game/Actor.cs index eeb7d9a601..6e5f8987bc 100755 --- a/OpenRa.Game/Actor.cs +++ b/OpenRa.Game/Actor.cs @@ -55,7 +55,7 @@ namespace OpenRa.Game { var a = currentActivity; currentActivity = a.Tick(this) ?? new Idle(); - if (a == currentActivity) break; + if (a == currentActivity || currentActivity is Idle) break; } foreach (var tick in traits.WithInterface())