Make Shift+<Hotkey> queue five units/buildings. Fixes #5544.
This commit is contained in:
@@ -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 == Hotkey.FromKeyInput(e));
|
||||
var toBuild = CurrentQueue.BuildableItems().FirstOrDefault(b => b.Traits.Get<BuildableInfo>().Hotkey.Key == Hotkey.FromKeyInput(e).Key);
|
||||
|
||||
if (toBuild != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user