From 09f777829478053e39f4b6bfdad13c9b675bd54a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 18 Oct 2010 18:07:08 +1300 Subject: [PATCH] fix bogus base-cycler --- OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs index b19ef3d6e1..e3717d38f1 100644 --- a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs +++ b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs @@ -163,7 +163,7 @@ namespace OpenRA.Widgets var next = bases .Select( b => b.Actor ) - .SkipWhile(b => world.Selection.Actors.Contains(b)) + .SkipWhile(b => !world.Selection.Actors.Contains(b)) .Skip(1) .FirstOrDefault();