Skip to content

Commit

Permalink
pump is on click instead of ctrl click
Browse files Browse the repository at this point in the history
  • Loading branch information
Thera-Pissed committed Jan 20, 2024
1 parent a1bd997 commit 9d32880
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/game/machinery/outpost_electrolyzer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<span class='notice'>You toggle the pump [on ? "on" : "off"].</span>")
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)
Expand Down

0 comments on commit 9d32880

Please sign in to comment.