From 2972728b5eaa8a9245889b218bcaea3ca7a3487c Mon Sep 17 00:00:00 2001 From: Curtis Shmyr Date: Thu, 16 Feb 2012 20:05:10 -0700 Subject: [PATCH] Ctrl-Shift-numkey performs unit grouping into existing groups --- OpenRA.Game/Selection.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Selection.cs b/OpenRA.Game/Selection.cs index 9be2cd598d..34ffd57939 100644 --- a/OpenRA.Game/Selection.cs +++ b/OpenRA.Game/Selection.cs @@ -72,7 +72,8 @@ namespace OpenRA if (actors.Count == 0) return; - controlGroups[group].Clear(); + if (!mods.HasModifier(Modifiers.Shift)) + controlGroups[group].Clear(); for (var i = 0; i < 10; i++) /* all control groups */ controlGroups[i].RemoveAll(a => actors.Contains(a));