anchor.diff:  		repair_tick = 1
   		return
   
  -	if(cyborg && (cyborg.stat != DEAD) && on)
  +	var/mob/living/silicon/robot/cyborg = toggle_action.owner
  +
  +	if(istype(cyborg) && (cyborg.stat != DEAD) && on)
   		if(!cyborg.cell)
   			to_chat(cyborg, "<span class='warning'>Self-repair module deactivated. Please, insert the power cell.</span>")
   			deactivate_sr()
  
positive.code: 			to_chat(user, "<span class='warning'>This unit is already equipped with a self-repair module.</span>")
  			return FALSE
  
  		cyborg = R
  		icon_state = "selfrepair_off"
  		toggle_action = new /datum/action/item_action/toggle(src)
  		toggle_action.Grant(R)
  
negative.code: 	var/msg_cooldown = 0
  	var/on = FALSE
  	var/powercost = 10
  	var/datum/action/toggle_action
  
  /obj/item/borg/upgrade/selfrepair/action(mob/living/silicon/robot/R, user = usr)
  