Skip to content

Commit ad5e1cb

Browse files
committed
Merge pull request OpenRA#6027 from OpenRA/revert-5763-build-shift+keypress
Revert "Make Shift+<Hotkey> queue five units/buildings. Fixes OpenRA#5544."
2 parents 3780a70 + 3744a1a commit ad5e1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenRA.Mods.RA/Widgets/BuildPaletteWidget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ bool DoBuildingHotkey(KeyInput e, World world)
523523
if (!paletteOpen) return false;
524524
if (CurrentQueue == null) return false;
525525

526-
var toBuild = CurrentQueue.BuildableItems().FirstOrDefault(b => b.Traits.Get<BuildableInfo>().Hotkey.Key == Hotkey.FromKeyInput(e).Key);
526+
var toBuild = CurrentQueue.BuildableItems().FirstOrDefault(b => b.Traits.Get<BuildableInfo>().Hotkey == Hotkey.FromKeyInput(e));
527527

528528
if (toBuild != null)
529529
{

0 commit comments

Comments
 (0)