Direct pressure and asphyxiation damage do not interrupt DoAfters anymore (#5459)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user