Skip to content

Commit a81bdb9

Browse files
authored
Merge pull request #8223 from IllianiBird/autoInfirmaryFix
2 parents ddd4977 + f92899f commit a81bdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MekHQ/src/mekhq/campaign/OptimizeInfirmaryAssignments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ private void assignDoctors(final boolean isDoctorsUseAdministration, final int m
142142
continue;
143143
}
144144

145-
if (campaign.getMashTheatresWithinCapacity() && totalPatientCounter >= mashTheatreCapacity) {
145+
if (!campaign.getMashTheatresWithinCapacity()) {
146146
// Similar to the above, we're just unassigning doctors for any remaining patients.
147147
continue;
148148
}

0 commit comments

Comments
 (0)