id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field 3823,[PATCH] Correctly handle commands for multiple units,Itms,Imarok,"When there are multiple units in the selection, we're facing several problems, which arise from the fact that the GUI uses the first unit of the selection (this first unit being the one with the lowest entity ID). Problems include: * The back-to-work button does not always show up (workaround included in r17880 and reverted afterwards) * #2205 * #3302 * Building structures when female citizens and soldiers are selected together and possibly others. This should be fixed by passing `selection` instead of `unitEntState` from unit_commands to selection_panels and change the code depending on that. (comment:8) (One should keep in mind, selection only contains the entity ids, so one has to use GetExtendedEntityState or GetEntityState)",task,closed,Must Have,Alpha 21,UI & Simulation,fixed,patch,,