Atmos bug fixes

This commit is contained in:
Markolie
2015-01-30 15:42:55 +01:00
parent 5734a3e991
commit acda8e7730
6 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -302,7 +302,7 @@
/obj/machinery/atmospherics/valve/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob)
if (!istype(W, /obj/item/weapon/wrench))
return ..()
if (istype(src, /obj/machinery/atmospherics/valve/digital))
if (istype(src, /obj/machinery/atmospherics/valve/digital) && src:frequency)
user << "\red You cannot unwrench this [src], it's too complicated."
return 1
var/datum/gas_mixture/int_air = return_air()