Allows removal of digital t-valves

This commit is contained in:
Cyantime
2021-11-03 01:11:30 -04:00
committed by GitHub
parent 09a2377063
commit 3ae2f7736f
-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)