oops; that wasnt right ;)

This commit is contained in:
Chris Forbes
2009-12-28 10:07:53 +13:00
parent 6a0f019045
commit ba16424bc1

View File

@@ -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<ITick>())