From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:26:47 +0000 (+0200) Subject: Fix powered lights electrocuting you despite having insulated gloves V2 (#36686) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a9720f214963f4cc3fb54f62bbcc01f791e3346f;p=space-station-14.git Fix powered lights electrocuting you despite having insulated gloves V2 (#36686) fix light insulation --- diff --git a/Content.Server/Electrocution/ElectrocutionSystem.cs b/Content.Server/Electrocution/ElectrocutionSystem.cs index c7adb311d3..0059a8b427 100644 --- a/Content.Server/Electrocution/ElectrocutionSystem.cs +++ b/Content.Server/Electrocution/ElectrocutionSystem.cs @@ -188,7 +188,7 @@ public sealed class ElectrocutionSystem : SharedElectrocutionSystem if (_meleeWeapon.GetDamage(args.Used, args.User).Empty) return; - DoCommonElectrocution(args.User, uid, component.UnarmedHitShock, component.UnarmedHitStun, false); + TryDoElectrocution(args.User, uid, component.UnarmedHitShock, component.UnarmedHitStun, false); } private void OnElectrifiedInteractUsing(EntityUid uid, ElectrifiedComponent electrified, InteractUsingEvent args)