From 1bf175a3c07f9a122a1fa98f12ff91742af4474b Mon Sep 17 00:00:00 2001 From: Trilbyspaceclone <30435998+Trilbyspaceclone@users.noreply.github.com> Date: Tue, 26 Mar 2019 13:19:02 -0400 Subject: [PATCH] Hmm --- code/game/objects/items/defib.dm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/code/game/objects/items/defib.dm b/code/game/objects/items/defib.dm index 0f758d16ef..2fd5daae57 100644 --- a/code/game/objects/items/defib.dm +++ b/code/game/objects/items/defib.dm @@ -445,7 +445,9 @@ return (!H.suiciding && !(H.has_trait(TRAIT_NOCLONE)) && !H.hellbound && ((world.time - H.timeofdeath) < tlimit) && (H.getBruteLoss() < 180) && (H.getFireLoss() < 180) && H.getorgan(/obj/item/organ/heart) && BR && !BR.damaged_brain) /obj/item/twohanded/shockpaddles/proc/shock_touching(dmg, mob/H) - if(isliving(H.pulledby)) //CLEAR! + if(defib.pullshocksafely && isliving(H.pulledby)) + H.visible_message("The defibrillator safely discharges the excessive charge into the floor!") + else var/mob/living/M = H.pulledby if(M.electrocute_act(30, src)) M.visible_message("[M] is electrocuted by [M.p_their()] contact with [H]!") @@ -634,12 +636,6 @@ busy = FALSE update_icon() -/obj/item/twohanded/shockpaddles/shock_touching(dmg, mob/H) - if(defib.pullshocksafely && isliving(H.pulledby)) - H.visible_message("The defibrillator safely discharges the excessive charge into the floor!") - return - ..() - /obj/item/defibrillator/attackby(obj/item/I, mob/user, params) if(istype(I, /obj/item/disk/medical/defib_heal)) if(healdisk)