Merge pull request #3255 from CHOMPStation2/upstream-merge-11759

[MIRROR] Allows removal of digital t-valves
This commit is contained in:
Razgriz
2021-12-10 13:22:38 -07:00
committed by GitHub
-3
View File
@@ -329,9 +329,6 @@
/obj/machinery/atmospherics/tvalve/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob)
if (!W.is_wrench())
return ..()
if (istype(src, /obj/machinery/atmospherics/tvalve/digital))
to_chat(user, "<span class='warning'>You cannot unwrench \the [src], it's too complicated.</span>")
return 1
if(!can_unwrench())
to_chat(user, "<span class='warnng'>You cannot unwrench \the [src], it too exerted due to internal pressure.</span>")
add_fingerprint(user)