mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes RCD deriatives going into storage while trying to make something
If someone else has a better idea on how to fix this feel free to.
This commit is contained in:
@@ -135,8 +135,12 @@
|
||||
return selected.Topic(href, href_list)
|
||||
|
||||
/obj/item/device/rcd/afterattack(var/atom/A, var/mob/user)
|
||||
|
||||
if(!selected)
|
||||
return 1
|
||||
|
||||
if(istype(A, /obj/item/weapon/storage/))
|
||||
return 1
|
||||
|
||||
if(selected.flags ^ (RCD_SELF_SANE | RCD_RANGE) && !(user.Adjacent(A) && A.Adjacent(user))) //If RCD_SELF_SANE and RCD_RANGE are disabled we use adjacency.
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user