From 02a37c8303182e820d149a181a6a864a8d664fb7 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Sun, 15 Dec 2024 22:19:46 -0500 Subject: [PATCH] Fix wallets not ingesting cards on click. (#27655) --- code/game/objects/items/weapons/cards_ids.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm index 84095575f3e5..01e5fd797da7 100644 --- a/code/game/objects/items/weapons/cards_ids.dm +++ b/code/game/objects/items/weapons/cards_ids.dm @@ -286,6 +286,10 @@ attach_guest_pass(used, user) return ITEM_INTERACT_SUCCESS + else if(istype(used, /obj/item/storage/wallet)) + used.attackby__legacy__attackchain(src, user) + return ITEM_INTERACT_SUCCESS + /obj/item/card/id/AltClick(mob/user) if(user.stat || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || !Adjacent(user)) return