From 521413f643ae8d5302b722879b2ca4768fcc2748 Mon Sep 17 00:00:00 2001 From: Vi3trice <80771500+Vi3trice@users.noreply.github.com> Date: Sat, 25 Jan 2025 22:16:31 -0500 Subject: [PATCH] Update clothing.dm (#28115) --- code/modules/clothing/clothing.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 96ab166d807..188c54e8cb3 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -302,7 +302,7 @@ return TRUE /obj/item/clothing/under/proc/set_sensors(mob/user) - if(!Adjacent(user)) + if(!Adjacent(user) && !user.Adjacent(src)) to_chat(user, "You are too far away!") return @@ -321,7 +321,7 @@ var/list/modes = list("Off", "Binary sensors", "Vitals tracker", "Tracking beacon") var/switchMode = tgui_input_list(user, "Select a sensor mode:", "Suit Sensor Mode", modes, modes[sensor_mode + 1]) // If they walk away after the menu is already open. - if(!Adjacent(user)) + if(!Adjacent(user) && !user.Adjacent(src)) to_chat(user, "You have moved too far away!") return // If your hands get lopped off or cuffed after the menu is open.