Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007452Dwarf FortressDwarf Mode -- Militarypublic2014-07-18 12:132014-08-08 13:58
Toady One 
0007452: Replacing the squad leader creates permanent, hidden squad members
Create a squad, and assign a leader. (This MAY need to be the top squad/militia commander role; I haven't had a game with more than one squad yet.) Exit the military menu. Re-enter, and replace the leader with a different dwarf. Exit the military menu again; then re-open it. The squad appears vacant! The new squad leader isn't available for military assignment, but he isn't shown as the squad leader either. Check the Nobles screen, too - he's not there either! And you can't assign subordinates until you put someone else in the squad leader position.

But if you station this "size 0" squad, your new squad leader will obey the command - as though he were a rank and file member of the squad. There's no way to remove him from the squad without disbanding it. You can stack any number of hidden members into the squad this way, up to your total population minus 1.

Unsure what effect this has on assigned equipment.
1 Start new fortress.
2 Create squad.
3 Assign squad leader.
4 Exit military menu
5 Assign new squad leader
6 Exit military menu
No tags attached.
related to 0000266resolved Toady One Multiple Militia captain positions available for militia commander 
has duplicate 0006550needs feedback Footkerchief Dwarf missing from assignment screen 
has duplicate 0007572resolved lethosor Discrepancies between 'm'ilitary menu and 'v'iew menu when replacing squad members (leaders only?) 
related to 0007390resolved Dwarfu Militia Commander stuck in tree, does not do work as a civilian even after being removed from the position 
Issue History
2014-07-18 12:13ButtonNew Issue
2014-07-19 14:17DebocheNote Added: 0026973
2014-07-20 09:23FootkerchiefRelationship addedrelated to 0000266
2014-07-25 23:58horsefeathersNote Added: 0027576
2014-08-08 12:24FootkerchiefSummarySquad leader reassignment creates permanent, hidden squad members => Replacing the squad leader creates permanent, hidden squad members
2014-08-08 12:27FootkerchiefRelationship addedhas duplicate 0006550
2014-08-08 12:27FootkerchiefAssigned To => Footkerchief
2014-08-08 12:27FootkerchiefStatusnew => confirmed
2014-08-08 13:58Toady OneStatusconfirmed => resolved
2014-08-08 13:58Toady OneFixed in Version => Next Version
2014-08-08 13:58Toady OneResolutionopen => fixed
2014-08-08 13:58Toady OneAssigned ToFootkerchief => Toady One
2014-08-08 14:13lethosorRelationship addedrelated to 0007572
2014-08-09 19:45FootkerchiefRelationship addedrelated to 0007390
2014-08-10 08:26lethosorRelationship replacedhas duplicate 0007572

2014-07-19 14:17   
same exact thing happened to me today
2014-07-25 23:58   
I had this happen. I could remove them by finding them with the v key (view units) and going to prf, then x to remove from the squad. From there you can reassign them to the squad and they will show up.