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

@@ -23,7 +23,7 @@ namespace Content.Server.DoAfter
public void HandleDamage(EntityUid _, DoAfterComponent component, DamageChangedEvent args)
{
if (component.DoAfters.Count == 0 || !args.DamageIncreased)
if (component.DoAfters.Count == 0 || !args.InterruptsDoAfters)
{
return;
}