Fixes jumpsuit sensor repair runtimes (#93555)

## About The Pull Request

Cable was passed as the user

## Changelog
🆑
fix: Fixed jumpsuit sensor repair runtimes
/🆑
This commit is contained in:
SmArtKar
2025-10-22 18:41:06 -04:00
committed by GitHub
parent 9b6cb010ae
commit db5cb34c96
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -259,7 +259,6 @@
playsound(source = src, soundin = 'sound/effects/sparks/sparks4.ogg', vol = 100, vary = TRUE, extrarange = SHORT_RANGE_SOUND_EXTRARANGE, ignore_walls = FALSE)
set_has_sensor(HAS_SENSORS)
return TRUE
/// If the item is being worn, a gentle reminder every 3-5 minutes that the sensors are broken
+1 -1
View File
@@ -603,7 +603,7 @@ GLOBAL_LIST_INIT(wire_node_generating_types, typecacheof(list(
/obj/item/stack/cable_coil/proc/try_heal_loop(atom/interacting_with, mob/living/user, repeating = FALSE)
var/mob/living/carbon/human/attacked_humanoid = interacting_with
var/obj/item/clothing/under/uniform = attacked_humanoid.w_uniform
if(uniform?.repair_sensors(src, user))
if(uniform?.repair_sensors(user))
return ITEM_INTERACT_SUCCESS
var/obj/item/bodypart/affecting = attacked_humanoid.get_bodypart(check_zone(user.zone_selected))