From 30d3c79fd4e51a618895f9bb2f13fd2e581d274d Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Tue, 24 Sep 2013 20:20:42 -0400 Subject: [PATCH] Revert "Optimized round-start loading time" This reverts commit bb813be5d0ea3f95fb3f95adbce2a9f4e6512aea. --- code/modules/recycling/disposal.dm | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 3f6d6f3b48b..750aa952571 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -27,23 +27,18 @@ // find the attached trunk (if present) and init gas resvr. New() ..() - trunk = locate() in src.loc - if(!trunk) - mode = 0 - flush = 0 - else - trunk.linked = src // link the pipe trunk to self + spawn(5) + trunk = locate() in src.loc + if(!trunk) + mode = 0 + flush = 0 + else + trunk.linked = src // link the pipe trunk to self - air_contents = new/datum/gas_mixture() - //gas.volume = 1.05 * CELLSTANDARD - update() + air_contents = new/datum/gas_mixture() + //gas.volume = 1.05 * CELLSTANDARD + update() - initialize() //this will remove around 5kpa from a turf, add it to the disposal air and then add it back to the turf, basically it spawns air depending on the turf air. - var/atom/L = loc - var/datum/gas_mixture/env = L.return_air() - var/datum/gas_mixture/removed = env.remove(SEND_PRESSURE) - air_contents.merge(removed) - env.merge(removed) // attack by item places it in to disposal attackby(var/obj/item/I, var/mob/user)