diff --git a/code/_onclick/click_alt.dm b/code/_onclick/click_alt.dm index 7f762a6e920..bda0e849a65 100644 --- a/code/_onclick/click_alt.dm +++ b/code/_onclick/click_alt.dm @@ -38,6 +38,13 @@ if(HAS_TRAIT(src, TRAIT_MOVE_VENTCRAWLING)) return + /// No loot panel if it's on our person + if(isobj(target) && isliving(src)) + var/mob/living/user = src + if(target in user.get_all_gear()) + to_chat(user, span_warning("You can't search for this item, it's already in your inventory! Take it off first.")) + return + client.loot_panel.open(tile)