fixes repair borg not working in some cases (#25151)

This commit is contained in:
GDN
2024-04-22 15:37:16 -05:00
committed by GitHub
parent 3449f5175d
commit 58c61475e6
@@ -851,12 +851,6 @@
selection_deactivated_message = "<span class='notice'>APC logic thread restarting...</span>"
var/is_active = FALSE
/datum/spell/ai_spell/ranged/repair_cyborg/create_new_targeting()
var/datum/spell_targeting/click/T = new
T.allowed_type = /mob/living/silicon/robot
T.try_auto_target = FALSE
return T
/datum/spell/ai_spell/ranged/repair_cyborg/cast(list/targets, mob/user)
var/mob/living/silicon/robot/robot_target = targets[1]
if(!istype(robot_target))