mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
no build network on every process
scrubbers by default will scrub toxins.
This commit is contained in:
@@ -77,7 +77,8 @@ Pipelines + Other Objects -> Pipe network
|
||||
// I asked /tg/ and bay and they have no idea why this is here, so into the trash it goes. - N3X
|
||||
// Re-enabled for debugging.
|
||||
/obj/machinery/atmospherics/process()
|
||||
build_network()
|
||||
//build_network()
|
||||
//testing("[src] called parent process to build_network()")
|
||||
|
||||
/obj/machinery/atmospherics/proc/network_expand(datum/pipe_network/new_network, obj/machinery/atmospherics/pipe/reference)
|
||||
// Check to see if should be added to network. Add self if so and adjust variables appropriately.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
var/on = 0
|
||||
var/scrubbing = 1 //0 = siphoning, 1 = scrubbing
|
||||
var/scrub_CO2 = 1
|
||||
var/scrub_Toxins = 0
|
||||
var/scrub_Toxins = 1
|
||||
var/scrub_N2O = 0
|
||||
var/scrub_O2 = 0
|
||||
var/scrub_N2 = 0
|
||||
@@ -27,7 +27,7 @@
|
||||
var/radio_filter_out
|
||||
var/radio_filter_in
|
||||
New()
|
||||
..()
|
||||
..()s
|
||||
area_uid = areaMaster.uid
|
||||
if (!id_tag)
|
||||
assign_uid()
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
/obj/machinery/atmospherics/pipe/simple/process()
|
||||
if(!parent) //This should cut back on the overhead calling build_network thousands of times per cycle
|
||||
..()
|
||||
build_network()
|
||||
else
|
||||
. = PROCESS_KILL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user