Merge pull request #6027 from OpenRA/revert-5763-build-shift+keypress

Revert "Make Shift+<Hotkey> queue five units/buildings. Fixes #5544."
This commit is contained in:
ScottNZ
2014-07-22 22:36:43 +12:00

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)
{