]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix clumsy defib debug assert (#23930)
authorthemias <89101928+themias@users.noreply.github.com>
Thu, 11 Jan 2024 21:58:25 +0000 (16:58 -0500)
committerGitHub <noreply@github.com>
Thu, 11 Jan 2024 21:58:25 +0000 (16:58 -0500)
* Fix clumsy defib debug assert

* don't need to specify null

Content.Server/Medical/DefibrillatorSystem.cs

index 9b96cb7fcb7983684022b9494fee88b74cd852a5..d8bbeb998244aaf89c1da28e5debcae1987be3ec 100644 (file)
@@ -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<ClumsyComponent>(user) && user != target)
         {
-            Zap(uid, user, user, component, mob, thresholds);
+            Zap(uid, user, user, component);
             return;
         }