]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes electropacks not ignoring insulation (#38011)
authorTheFlyingSentry <170261226+TheFlyingSentry@users.noreply.github.com>
Tue, 3 Jun 2025 17:38:07 +0000 (13:38 -0400)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 17:38:07 +0000 (10:38 -0700)
Co-authored-by: TheFlyingSentry <Daniel.l.Elledge@gmail.com>
Content.Server/Explosion/EntitySystems/TriggerSystem.cs

index 0459730c6465434d325889711d4733240b1b1229..894408d275e928a861155f46b0ea2deba5d114f2 100644 (file)
@@ -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;
         }