]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make Asphyxiating pierce Resistances (#41556)
authorSir Warock <67167466+SirWarock@users.noreply.github.com>
Mon, 24 Nov 2025 00:21:45 +0000 (01:21 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 00:21:45 +0000 (00:21 +0000)
Make Asphyxiating pierce res

Content.Server/Body/Systems/RespiratorSystem.cs

index 79457cb0368c93e9a30412b2e934cbdea8b64d11..1c20927170918e3edd24eae3b24de0f820e3602f 100644 (file)
@@ -367,7 +367,7 @@ public sealed class RespiratorSystem : EntitySystem
         if (ent.Comp.SuffocationCycles == 2)
             _adminLogger.Add(LogType.Asphyxiation, $"{ToPrettyString(ent):entity} started suffocating");
 
-        _damageableSys.ChangeDamage(ent.Owner, ent.Comp.Damage, interruptsDoAfters: false);
+        _damageableSys.ChangeDamage(ent.Owner, ent.Comp.Damage, interruptsDoAfters: false, ignoreResistances: true);
 
         if (ent.Comp.SuffocationCycles < ent.Comp.SuffocationCycleThreshold)
             return;