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>
This commit is contained in:
Toastical
2026-02-16 22:51:21 +00:00
committed by GitHub
co-authored by CRUNCH
parent dbab5e321c
commit d516dc50a4
+5 -3
View File
@@ -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)