BUGFIX: Wrong team size when all team members die in Bladeburner's action (#1658)

This commit is contained in:
catloversg 2024-09-20 16:31:15 +07:00 committed by GitHub
parent 21ffa5322f
commit 70e16bf349
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1052,7 +1052,8 @@ export class Bladeburner {
sup[r].takeDamage(sup[r].hp.max);
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;
if (this.logging.blackops) {