From: TheFlyingSentry <170261226+TheFlyingSentry@users.noreply.github.com> Date: Tue, 3 Jun 2025 17:38:07 +0000 (-0400) Subject: Fixes electropacks not ignoring insulation (#38011) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=384dcae81d92765c2ad8d937c67458c2460bcd59;p=space-station-14.git Fixes electropacks not ignoring insulation (#38011) Co-authored-by: TheFlyingSentry --- diff --git a/Content.Server/Explosion/EntitySystems/TriggerSystem.cs b/Content.Server/Explosion/EntitySystems/TriggerSystem.cs index 0459730c64..894408d275 100644 --- a/Content.Server/Explosion/EntitySystems/TriggerSystem.cs +++ b/Content.Server/Explosion/EntitySystems/TriggerSystem.cs @@ -152,7 +152,7 @@ namespace Content.Server.Explosion.EntitySystems return; } - _electrocution.TryDoElectrocution(containerEnt, null, shockOnTrigger.Comp.Damage, shockOnTrigger.Comp.Duration, true); + _electrocution.TryDoElectrocution(containerEnt, null, shockOnTrigger.Comp.Damage, shockOnTrigger.Comp.Duration, true, ignoreInsulation: true); shockOnTrigger.Comp.NextTrigger = curTime + shockOnTrigger.Comp.Cooldown; }