Revert "Make Shift+<Hotkey> queue five units/buildings. Fixes #5544."

This commit is contained in:
Paul Chote
2014-07-22 20:16:47 +12:00
parent 3780a70045
commit 3744a1af25

View File

@@ -523,7 +523,7 @@ namespace OpenRA.Mods.RA.Widgets
if (!paletteOpen) return false;
if (CurrentQueue == null) return false;
var toBuild = CurrentQueue.BuildableItems().FirstOrDefault(b => b.Traits.Get<BuildableInfo>().Hotkey.Key == Hotkey.FromKeyInput(e).Key);
var toBuild = CurrentQueue.BuildableItems().FirstOrDefault(b => b.Traits.Get<BuildableInfo>().Hotkey == Hotkey.FromKeyInput(e));
if (toBuild != null)
{