From db5cb34c960da5e2754da782bcfe1050ced4ae58 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Thu, 23 Oct 2025 00:41:06 +0200 Subject: [PATCH] Fixes jumpsuit sensor repair runtimes (#93555) ## About The Pull Request Cable was passed as the user ## Changelog :cl: fix: Fixed jumpsuit sensor repair runtimes /:cl: --- code/modules/clothing/under/_under.dm | 1 - code/modules/power/cable.dm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index 89f744246ad..dfff6b566f1 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -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 diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index 968db84a535..b85d13ff096 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -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))