From aa83106a8279a670aec16798d59e7c30a9e1c9d1 Mon Sep 17 00:00:00 2001 From: K3L <135052649+K3Licia@users.noreply.github.com> Date: Thu, 28 Nov 2024 00:57:18 -0600 Subject: [PATCH] Update system_shock.dm Signed-off-by: K3L <135052649+K3Licia@users.noreply.github.com> --- code/datums/quirks/negative_quirks/system_shock.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/datums/quirks/negative_quirks/system_shock.dm b/code/datums/quirks/negative_quirks/system_shock.dm index 4e4654cf45e71..a3ba11c49fee1 100644 --- a/code/datums/quirks/negative_quirks/system_shock.dm +++ b/code/datums/quirks/negative_quirks/system_shock.dm @@ -10,12 +10,13 @@ quirk_flags = QUIRK_HUMAN_ONLY /datum/quirk/system_shock/add(client/client_source) - if(-SPECIES_ANDROID) - RegisterSignals(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK), PROC_REF(on_electrocute)) + if(SPECIES_ANDROID) + RegisterSignals(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK), PROC_REF(on_electrocute)) /datum/quirk/system_shock/remove() UnregisterSignal(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK)) + /datum/quirk/system_shock/proc/on_electrocute() SIGNAL_HANDLER var/knockout_length = 20 SECONDS + rand(0 SECONDS, 5 SECONDS)