diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 6ac6489f4b4..15538ea6b9a 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -496,7 +496,12 @@ var/tomail = 0 //changes if contains wrapped package var/hasmob = 0 //If it contains a mob +/obj/structure/disposalholder/Destroy() + qdel(gas) + active = 0 + ..() +/obj/structure/disposalholder // initialize a holder from the contents of a disposal unit proc/init(var/obj/machinery/disposal/D) gas = D.air_contents// transfer gas resv. into holder object @@ -550,20 +555,13 @@ proc/move() var/obj/structure/disposalpipe/last while(active) - if(has_fat_guy && prob(2)) // chance of becoming stuck per segment if contains a fat guy - active = 0 - // find the fat guys - for(var/mob/living/carbon/human/H in src) - - break - sleep(1) // was 1 var/obj/structure/disposalpipe/curr = loc last = curr curr = curr.transfer(src) - if(!curr) + if(!curr && active) last.expel(src, loc, dir) - // + sleep(1) if(!(count--)) active = 0 return