From d99e8264e206a67d8508c13d8486e56e0efde8c9 Mon Sep 17 00:00:00 2001 From: "aranclanos@hotmail.com" Date: Sun, 30 Dec 2012 00:01:20 +0000 Subject: [PATCH] Fixes a fuckload of runtimes related to checking the loc var of an atom who was disposaled but it's not moving yet. With this change, the black screen of the delivery chute is gone. Ya know, when you entered in them you had some 3 seconds of a stupid black screen. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5420 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/recycling/sortingmachinery.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index 3485e5edb8..9fa94838a7 100644 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -250,15 +250,13 @@ if(deliveryCheck == 0) H.destinationTag = 1 - - H.init(src) // copy the contents of disposer to holder - air_contents = new() // new empty gas resv. sleep(10) playsound(src, 'sound/machines/disposalflush.ogg', 50, 0, 0) sleep(5) // wait for animation to finish + H.init(src) // copy the contents of disposer to holder H.start(src) // start the holder processing movement flushing = 0