Make bloodloss and asphyxiation damage not ignore resistances (#21665)

This commit is contained in:
DrSmugleaf
2023-11-15 02:03:02 -08:00
committed by GitHub
parent 8343e04ff4
commit f99de2727d
2 changed files with 6 additions and 6 deletions

View File

@@ -160,7 +160,7 @@ namespace Content.Server.Body.Systems
_alertsSystem.ShowAlert(uid, AlertType.LowOxygen);
}
_damageableSys.TryChangeDamage(uid, respirator.Damage, true, false);
_damageableSys.TryChangeDamage(uid, respirator.Damage, false, false);
}
private void StopSuffocation(EntityUid uid, RespiratorComponent respirator)
@@ -170,7 +170,7 @@ namespace Content.Server.Body.Systems
_alertsSystem.ClearAlert(uid, AlertType.LowOxygen);
_damageableSys.TryChangeDamage(uid, respirator.DamageRecovery, true);
_damageableSys.TryChangeDamage(uid, respirator.DamageRecovery);
}
public void UpdateSaturation(EntityUid uid, float amount,