mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user