BUGFIX: Bladeburner console prints main body's HP instead of sleeve's HP (#2390)

This commit is contained in:
catloversg
2025-11-21 21:52:19 +07:00
committed by GitHub
parent bb50272e54
commit 5c271eddf1

View File

@@ -1162,9 +1162,9 @@ export class Bladeburner implements OperationTeam {
this.stamina = Math.min(this.maxStamina, this.stamina + staminaGain);
if (this.logging.general) {
let extraLog = "";
if (Player.hp.current > currentHp) {
if (person.hp.current > currentHp) {
extraLog += ` Restored ${formatHp(BladeburnerConstants.HrcHpGain)} HP. Current HP is ${formatHp(
Player.hp.current,
person.hp.current,
)}.`;
}
if (this.stamina > currentStamina) {