anchor.diff:  		uses = 0
   		visible_message("<span class='warning'>[src] is disrupted!</span>")
   		animate(src, alpha = 0, transform = matrix()*2, time = 10)
  -		QDEL_IN(src, 10)
  +		deltimer(timerid)
  +		timerid = QDEL_IN(src, 10)
   		linked_gateway.uses = 0
   		linked_gateway.visible_message("<span class='warning'>[linked_gateway] is disrupted!</span>")
   		animate(linked_gateway, alpha = 0, transform = matrix()*2, time = 10)
  -		QDEL_IN(linked_gateway, 10)
  +		deltimer(linked_gateway.timerid)
  +		linked_gateway.timerid = QDEL_IN(linked_gateway, 10)
   		return TRUE
   	return FALSE
   
  
positive.code: 		clockwork_desc = "A gateway in reality. It can both send and receive objects."
  	else
  		clockwork_desc = "A gateway in reality. It can only [sender ? "send" : "receive"] objects."
  	QDEL_IN(src, lifetime)
  
  //set up a gateway with another gateway
  /obj/effect/clockwork/spatial_gateway/proc/setup_gateway(obj/effect/clockwork/spatial_gateway/gatewayB, set_duration, set_uses, two_way)
  
negative.code: 	var/lifetime = 25 //How many deciseconds this portal will last
  	var/uses = 1 //How many objects or mobs can go through the portal
  	var/obj/effect/clockwork/spatial_gateway/linked_gateway //The gateway linked to this one
  	var/timerid
  
  /obj/effect/clockwork/spatial_gateway/New()
  	..()
  	addtimer(src, "check_setup", 1)
  
  /obj/effect/clockwork/spatial_gateway/Destroy()
  	deltimer(timerid)
  	return ..()
  
  /obj/effect/clockwork/spatial_gateway/proc/check_setup()
  	if(!linked_gateway)
  