Fix master (#93342)

## About The Pull Request

#93165 skewed with #93305
This commit is contained in:
MrMelbert
2025-10-07 22:13:28 +02:00
committed by GitHub
parent 6ea19ddd18
commit a431f9b6dc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
/datum/element/cuffable_item/proc/item_interaction(obj/item/source, mob/living/user, obj/item/tool, modifiers)
SIGNAL_HANDLER
if(!istype(tool, /obj/item/restraints/handcuffs) || iscyborg(user) || source.anchored || !user.CanReach(source))
if(!istype(tool, /obj/item/restraints/handcuffs) || iscyborg(user) || source.anchored || !source.IsReachableBy(user))
return NONE
INVOKE_ASYNC(src, PROC_REF(apply_cuffs), source, user, tool)
+1 -1
View File
@@ -109,7 +109,7 @@
if(LAZYACCESS(user.do_afters, interaction_key))
return FALSE
if(!(user.mobility_flags & MOBILITY_USE) || (user != owner && !user.CanReach(owner)))
if(!(user.mobility_flags & MOBILITY_USE) || (user != owner && !owner.IsReachableBy(user)))
owner.balloon_alert(user, "can't do it right now!")
return FALSE