Fix clumsy defib debug assert (#23930)

* Fix clumsy defib debug assert

* don't need to specify null
This commit is contained in:
themias
2024-01-11 16:58:25 -05:00
committed by GitHub
parent cc823e24e9
commit 25c477a642

View File

@@ -1,4 +1,4 @@
using Content.Server.Atmos.Rotting; using Content.Server.Atmos.Rotting;
using Content.Server.Chat.Systems; using Content.Server.Chat.Systems;
using Content.Server.DoAfter; using Content.Server.DoAfter;
using Content.Server.Electrocution; using Content.Server.Electrocution;
@@ -201,7 +201,7 @@ public sealed class DefibrillatorSystem : EntitySystem
// clowns zap themselves // clowns zap themselves
if (HasComp<ClumsyComponent>(user) && user != target) if (HasComp<ClumsyComponent>(user) && user != target)
{ {
Zap(uid, user, user, component, mob, thresholds); Zap(uid, user, user, component);
return; return;
} }