Moves build_network to air's initialize, Removes initialize() from atmos machinery

This commit is contained in:
MrStonedOne
2015-07-25 23:08:02 -07:00
parent d38cfcb4ec
commit 4e971a7e57
7 changed files with 12 additions and 32 deletions
+9
View File
@@ -203,3 +203,12 @@ var/datum/subsystem/air/SSair
if (z_level && AM.z != z_level)
continue
AM.atmosinit()
//this can't be done with setup_atmos_machinery() because
// all atmos machinery has to initalize before the first
// pipenet can be built.
/datum/subsystem/air/proc/setup_pipenets(z_level)
for (var/obj/machinery/atmospherics/AM in atmos_machinery)
if (z_level && AM.z != z_level)
continue
AM.build_network()