Ctrl-Shift-numkey performs unit grouping into existing groups

This commit is contained in:
Curtis Shmyr
2012-02-16 20:05:10 -07:00
committed by Chris Forbes
parent 78ba76250d
commit 2972728b5e

View File

@@ -72,6 +72,7 @@ namespace OpenRA
if (actors.Count == 0) if (actors.Count == 0)
return; return;
if (!mods.HasModifier(Modifiers.Shift))
controlGroups[group].Clear(); controlGroups[group].Clear();
for (var i = 0; i < 10; i++) /* all control groups */ for (var i = 0; i < 10; i++) /* all control groups */