anchor.diff:  	var/sound_close = 'sound/machines/blast_door.ogg'
   	var/operating = 0
   
  -	process()
  -		..()
  -		if(trap_door_state != trap_closed)
  -			switch(trap_door_state)
  -				if(0)
  -					open()
  -				if(1)
  -					close()
  -			return
  -
  -obj/machinery/disposal/trapdoor/proc/open()
  +/obj/machinery/disposal/trapdoor/process()
  +	..()
  +	if(trap_door_state != trap_closed)
  +		switch(trap_door_state)
  +			if(0)
  +				open()
  +			if(1)
  +				trap_flush()
  +		return
  +
  +/obj/machinery/disposal/trapdoor/proc/open()
   	if(operating)
   		return
   	if(!trap_closed)
  
positive.code: //Trap Door
  /obj/machinery/disposal/trapdoor
  	name = "trapdoor"
  	desc = "A chute for big and small packages alike!"
  	density = 0
  	icon = 'icons/obj/atmospherics/pipes/trapdoor.dmi'
  	icon_state = "closed"
  
negative.code: 	operating = 0
  	if(auto_close)
  		spawn(auto_close)
  		trap_flush()
  		return 1
  
  
  /obj/machinery/disposal/trapdoor/proc/close()
  	if(operating)
  		return
  	if(trap_closed)
  