From b014c5b1b39cbec144706bba4d6ffe7e492fd9d7 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Fri, 12 Jun 2015 20:37:17 -0400 Subject: [PATCH] Removes Emag RNG on APCs --- code/modules/power/apc.dm | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 73db8fa8449..ba80fa4ecad 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -592,14 +592,10 @@ user << "Nothing happens." else flick("apc-spark", src) - if (do_after(user,6)) - if(prob(50)) - emagged = 1 - locked = 0 - user << "You emag the APC interface." - update_icon() - else - user << "You fail to [ locked ? "unlock" : "lock"] the APC interface." + emagged = 1 + locked = 0 + user << "You emag the APC interface." + update_icon() // attack with hand - remove cell (if cover open) or interact with the APC /obj/machinery/power/apc/attack_hand(mob/user)