Using "Find all Production Buildings" / "Find all Production Buildings on Screen" hotkeys trains incorrect number of units

  • Game Version: All - Standard / Premium / DLC

  • Build Number: v.100.19.14612.0 (604436R)

  • Platform: Steam

  • Operating System: Windows 10

Issue:

Training units after selecting multiple production buildings via the “Find all Production Buildings” or “Find all Production Buildings on Screen” hotkey will attempt to train one unit for each building within the selected group that allows training said unit.

For example; selecting 4 greek barracks with the “Find all Production Buildings” hotkey, then attempting to train 1 hoplite, will result in 4 hoplites being trained (if enough resources are available).

→ The expected behaviour would be a single unit being trained, not 4.

Trigger Event:

Creating a (single) unit after selecting multiple production buildings via the “Find all Production Buildings” or “Find all Production Buildings on Screen” hotkey.

Repro Steps:

  1. Create multiple production buildings
  2. Select those buildings via “Find all Production Buildings” or “Find all Production Buildings on Screen” hotkey
  3. Train 1 or more units of a select type

Using Hotkeys that select a single building type, like “Select all Barracks”, still work as expected - click once, produce one unit.

So it seems like the last patched messed something up for these two specific hotkeys.

In my game it seems to depend on whether I am clicking the unit icon to train the unit, or whether I am pressing a hotkey to train the unit.

Clicking the unit icon once → Trains multiple units (one unit from each selected building)
Pressing the hotkey once → Trains just a single unit

I did some testing and it seems to be differently bugged depending on what buildings you have selected:

Select buildings of specific type (holding control/drag select/using select all building of type hotkey)

  • Click: Bugged
  • Hotkey: Not bugged

Select buildings one at a time but select multiple building types (ie select multiple barracks and a stable)

  • Click: Bugged
  • Hotkey: Bugged

Using Find All Production Buildings hotkey

  • Click: Bugged
  • Hotkey: Bugged

So, if there is multiple building types selected (regardless of how you went about selecting them) then click and hotkey are both bugged. If you only have one building type selected then only the click is bugged.

Good catch. I totally forgot to check for hotkey vs click.

Great job. So fixing this won’t be a problem. Last time it took 14 days or something like that to fix a similar bug.