From d516dc50a4a06b21515b387d8ce8d45066da3340 Mon Sep 17 00:00:00 2001 From: Toastical <20125180+Toastical@users.noreply.github.com> Date: Tue, 17 Feb 2026 00:51:21 +0200 Subject: [PATCH] fix rcl being unable to wire machinery and mobs (#31646) * fix rcl being unable to wire machinery and mobs * Update code/game/objects/items/RCL.dm Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> --------- Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> --- code/game/objects/items/RCL.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/RCL.dm b/code/game/objects/items/RCL.dm index 9f93aac82e4..f8a417c578f 100644 --- a/code/game/objects/items/RCL.dm +++ b/code/game/objects/items/RCL.dm @@ -57,9 +57,11 @@ C.melee_attack_chain(user, src, list2params(modifiers)) return ITEM_INTERACT_COMPLETE - if(isturf(target)) - loaded.melee_attack_chain(user, target, list2params(modifiers)) - return ITEM_INTERACT_COMPLETE + if(isstorage(target) || istable(target)) + return ..() + + loaded.melee_attack_chain(user, target, list2params(modifiers)) + return ITEM_INTERACT_COMPLETE /obj/item/rcl/proc/refresh_icon(mob/user) update_icon(UPDATE_ICON_STATE|UPDATE_OVERLAYS)