Skip to content

2023-August-21 - 2.6.14477

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 14:49
26d7866
PlacePanel: Limit max based on unit requirements. (#11887)

This change caps the max for each unit type in the place panel to the max that can be placed for that type when considering "units which require units" logic (i.e. factory types).

This partially prevents the error "Cannot place more units which require units, than production capacity of territories with the required units" after making the selection in the place panel.

Note: That error can still happen when selecting multiple units of different types that surpass the max.