From b2379198aa6f2fa8b578f552e5ad791477b2a884 Mon Sep 17 00:00:00 2001 From: BurgerLua Date: Fri, 19 Jul 2019 02:01:16 -0700 Subject: [PATCH] Makes the autolathe shock wire actually shock you lmao --- code/datums/wires/autolathe.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/datums/wires/autolathe.dm b/code/datums/wires/autolathe.dm index ebad7d1469..f83bab5910 100644 --- a/code/datums/wires/autolathe.dm +++ b/code/datums/wires/autolathe.dm @@ -30,6 +30,7 @@ addtimer(CALLBACK(A, /obj/machinery/autolathe.proc/reset, wire), 60) if(WIRE_SHOCK) A.shocked = !A.shocked + A.shock(usr, 50) addtimer(CALLBACK(A, /obj/machinery/autolathe.proc/reset, wire), 60) if(WIRE_DISABLE) A.disabled = !A.disabled @@ -40,9 +41,11 @@ switch(wire) if(WIRE_HACK) A.adjust_hacked(!mend) - if(WIRE_HACK) + if(WIRE_SHOCK) A.shocked = !mend + A.shock(usr, 50) if(WIRE_DISABLE) A.disabled = !mend if(WIRE_ZAP) - A.shock(usr, 50) \ No newline at end of file + A.shock(usr, 50) +