anchor.diff:  /obj/machinery/door/power_change()
   	. = ..()
   	if(. && !(machine_stat & NOPOWER))
  -		autoclose_in(rand(0.5 SECONDS, 3 SECONDS))
  +		autoclose_in(DOOR_CLOSE_WAIT)
  +
  +#undef DOOR_CLOSE_WAIT
  
positive.code: 	air_update_turf(1)
  	update_freelook_sight()
  	if(autoclose)
  		addtimer(CALLBACK(src, .proc/close), autoclose)
  	return 1
  
  /obj/machinery/door/proc/close()
  
negative.code: 		for(var/atom/movable/M in get_turf(src))
  			if(M.density && M != src) //something is blocking the door
  				if(autoclose)
  					autoclose_in(DOOR_CLOSE_WAIT)
  				return
  
  	operating = TRUE
  