Skip to content

Commit f130d04

Browse files
committed
Issue #8226: Fix Crew for HHW in MHQ
1 parent 2070a3c commit f130d04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MekHQ/src/mekhq/campaign/unit/Unit.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5674,6 +5674,9 @@ public void remove(final @Nullable Person person, final boolean log) {
56745674
}
56755675
}
56765676

5677+
/**
5678+
* @return true if the unit has no commander
5679+
*/
56775680
public boolean isUnmanned() {
56785681
return (null == getCommander());
56795682
}

0 commit comments

Comments
 (0)