diff --git a/code/ATMOSPHERICS/components/unary/unary_base.dm b/code/ATMOSPHERICS/components/unary/unary_base.dm index eea2dba1ab..20d37b309c 100644 --- a/code/ATMOSPHERICS/components/unary/unary_base.dm +++ b/code/ATMOSPHERICS/components/unary/unary_base.dm @@ -9,6 +9,8 @@ var/datum/pipe_network/network + var/welded = 0 //defining this here for ventcrawl stuff + New() ..() initialize_directions = dir diff --git a/code/ATMOSPHERICS/components/unary/vent_pump.dm b/code/ATMOSPHERICS/components/unary/vent_pump.dm index 5d5a3496f9..00bc7e5772 100644 --- a/code/ATMOSPHERICS/components/unary/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary/vent_pump.dm @@ -40,8 +40,6 @@ var/internal_pressure_bound_default = INTERNAL_PRESSURE_BOUND var/pressure_checks_default = PRESSURE_CHECKS - var/welded = 0 // Added for aliens -- TLE - var/frequency = 1439 var/datum/radio_frequency/radio_connection diff --git a/code/modules/ventcrawl/ventcrawl.dm b/code/modules/ventcrawl/ventcrawl.dm index 9b2b83d3e7..5c2db9f3de 100644 --- a/code/modules/ventcrawl/ventcrawl.dm +++ b/code/modules/ventcrawl/ventcrawl.dm @@ -81,7 +81,7 @@ var/list/ventcrawl_machinery = list( var/atom/pipe var/list/pipes = list() for(var/obj/machinery/atmospherics/unary/U in range(1)) - if(is_type_in_list(U,ventcrawl_machinery) && Adjacent(U)) + if(is_type_in_list(U,ventcrawl_machinery) && Adjacent(U) && !U.welded) pipes |= U if(!pipes || !pipes.len) to_chat(src, "There are no pipes that you can ventcrawl into within range!")