Direct pressure and asphyxiation damage do not interrupt DoAfters anymore (#5459)

This commit is contained in:
20kdc
2021-11-23 00:34:56 +00:00
committed by GitHub
parent 18eecaea38
commit 1e061094ca
4 changed files with 17 additions and 9 deletions

View File

@@ -320,7 +320,7 @@ namespace Content.Server.Body.Components
alertsComponent.ShowAlert(AlertType.LowOxygen);
}
EntitySystem.Get<DamageableSystem>().TryChangeDamage(Owner.Uid, Damage, true);
EntitySystem.Get<DamageableSystem>().TryChangeDamage(Owner.Uid, Damage, true, false);
}
private void StopSuffocation()