Make bloodloss and asphyxiation damage not ignore resistances (#21665)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user