Skip to content

Commit

Permalink
Fix wallets not ingesting cards on click. (ParadiseSS13#27655)
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorstar-orion authored Dec 16, 2024
1 parent 6beefc2 commit 02a37c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/objects/items/weapons/cards_ids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02a37c8

Please sign in to comment.