From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 11 Jan 2024 21:58:25 +0000 (-0500) Subject: Fix clumsy defib debug assert (#23930) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=25c477a64270aa5b2394ed5405c29a6882a78925;p=space-station-14.git Fix clumsy defib debug assert (#23930) * Fix clumsy defib debug assert * don't need to specify null --- diff --git a/Content.Server/Medical/DefibrillatorSystem.cs b/Content.Server/Medical/DefibrillatorSystem.cs index 9b96cb7fcb..d8bbeb9982 100644 --- a/Content.Server/Medical/DefibrillatorSystem.cs +++ b/Content.Server/Medical/DefibrillatorSystem.cs @@ -1,4 +1,4 @@ -using Content.Server.Atmos.Rotting; +using Content.Server.Atmos.Rotting; using Content.Server.Chat.Systems; using Content.Server.DoAfter; using Content.Server.Electrocution; @@ -201,7 +201,7 @@ public sealed class DefibrillatorSystem : EntitySystem // clowns zap themselves if (HasComp(user) && user != target) { - Zap(uid, user, user, component, mob, thresholds); + Zap(uid, user, user, component); return; }