anchor.diff:  	. = ..()
   	var/obj/item/gun/energy/dueling/gun_A = new(src)
   	var/obj/item/gun/energy/dueling/gun_B = new(src)
  -	var/datum/duel/D = new
  -	gun_A.duel = D
  -	gun_B.duel = D
  -	D.gun_A = gun_A
  -	D.gun_B = gun_B
  +	new /datum/duel(gun_A, gun_B)
  
positive.code: 	var/list/fired = list()
  	var/countdown_length = 10
  	var/countdown_step = 0
  
  /datum/duel/proc/try_begin()
  	//Check if both guns are held and if so begin.
  
negative.code: 		if(T.is_blocked_turf(TRUE))
  			return FALSE
  	return TRUE
  
  ///For each linked gun that still exists, clear its reference to us, then delete.
  /datum/duel/proc/clear_duel()
  	gun_A?.duel = null
  	gun_B?.duel = null
  	qdel(src)
  
  /obj/item/gun/energy/dueling
  	name = "dueling pistol"
  