anchor.diff:  				attempts--
   				if(attempts == 0)
   					boom(user)
  -	else
  -		return ..()
  +		return
  +
  +	return ..()
   
   /obj/structure/closet/crate/secure/loot/AltClick(mob/living/user)
   	if(!user.canUseTopic(src, BE_CLOSE))
  
positive.code: 			if(input == code)
  				if(!spawned_loot)
  					spawn_loot()
  				tamperproof = 0 // set explosion chance to zero, so we dont accidently hit it with a multitool and instantly die
  				togglelock(user)
  			else if(!input || !sanitycheck || length(sanitised) != codelen)
  
negative.code: 
  /obj/structure/closet/crate/secure/loot/togglelock(mob/user, silent = FALSE)
  	if(!locked)
  		. = ..() //Run the normal code.
  		if(locked) //Double check if the crate actually locked itself when the normal code ran.
  			//reset the anti-tampering, number of attempts and last attempt when the lock is re-enabled.
  			tamperproof = initial(tamperproof)
  			attempts = initial(attempts)
  			lastattempt = null
  		return
  	if(tamperproof)
  		return
  	return ..()
  
  