From 54e9c47e99cac3ab3522a8a1d1308a61a39ccc61 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Mon, 22 Jan 2018 13:44:32 -0800 Subject: [PATCH] Removes pulling claw instant messageless stun (#34742) --- code/modules/integrated_electronics/subtypes/manipulation.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/integrated_electronics/subtypes/manipulation.dm b/code/modules/integrated_electronics/subtypes/manipulation.dm index 5ef422b77a..5ce41f838b 100644 --- a/code/modules/integrated_electronics/subtypes/manipulation.dm +++ b/code/modules/integrated_electronics/subtypes/manipulation.dm @@ -363,14 +363,13 @@ activators = list("pulse in" = IC_PINTYPE_PULSE_IN,"pulse out" = IC_PINTYPE_PULSE_OUT,"released" = IC_PINTYPE_PULSE_OUT) spawn_flags = IC_SPAWN_RESEARCH power_draw_per_use = 50 - var/max_grab = 2 //change it to 1 if you tired of drone kung-fu.Return it to 2 if you miss it. + var/max_grab = GRAB_PASSIVE /obj/item/integrated_circuit/manipulation/claw/do_work() var/obj/acting_object = get_object() var/atom/movable/AM = get_pin_data_as_type(IC_INPUT, 1, /atom/movable) var/mode = get_pin_data(IC_INPUT, 2) - if(mode>max_grab) - return + mode = CLAMP(mode, GRAB_PASSIVE, max_grab) if(AM) if(check_target(AM, exclude_contents = TRUE)) acting_object.start_pulling(AM,mode)