From 9d32880e75e801e6c0b12469f2bfc485ba4026c3 Mon Sep 17 00:00:00 2001 From: HelmCrab <90987989+Thera-Pissed@users.noreply.github.com> Date: Sat, 20 Jan 2024 15:55:31 -0600 Subject: [PATCH] pump is on click instead of ctrl click --- code/game/machinery/outpost_electrolyzer.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/outpost_electrolyzer.dm b/code/game/machinery/outpost_electrolyzer.dm index 22af48f85464..fc886a799cc3 100644 --- a/code/game/machinery/outpost_electrolyzer.dm +++ b/code/game/machinery/outpost_electrolyzer.dm @@ -192,13 +192,15 @@ return return ..() -/obj/machinery/atmospherics/components/unary/hydrogen_pump/CtrlClick(mob/user) +/obj/machinery/atmospherics/components/unary/hydrogen_pump/attack_hand(mob/user) + . = ..() + if(.) + return on = !on playsound(src, 'sound/machines/switch3.ogg', 10, FALSE) to_chat(user, "You toggle the pump [on ? "on" : "off"].") investigate_log("was turned [on ? "on" : "off"] by [key_name(user)]", INVESTIGATE_ATMOS) update_appearance() - return ..() /obj/machinery/atmospherics/components/unary/hydrogen_pump/AltClick(mob/user) if(merit)