BUGFIX: Follow-up of #1658 (Wrong team size in Bladeburner) (#1662)

This commit is contained in:
catloversg 2024-09-23 11:33:01 +07:00 committed by GitHub
parent ade92ed297
commit 53c8296baf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -769,7 +769,8 @@ export class Bladeburner {
sup[r].takeDamage(sup[r].hp.max); sup[r].takeDamage(sup[r].hp.max);
sup.splice(r, 1); sup.splice(r, 1);
} }
this.teamSize += this.sleeveSize; // If this happens, all team members died and some sleeves took damage. In this case, teamSize = sleeveSize.
this.teamSize = this.sleeveSize;
} }
this.teamLost += losses; this.teamLost += losses;
if (this.logging.ops && losses > 0) { if (this.logging.ops && losses > 0) {