From 7f865260a695d6daf210792a96d61e53922a119b Mon Sep 17 00:00:00 2001 From: Warfan1815 <69102610+Warfan1815@users.noreply.github.com> Date: Fri, 1 Mar 2024 10:54:09 +0000 Subject: [PATCH] Fixes the pulling of trading cards out of a pack message being visible to other people (#5852) # About the pull request Fixes the pulling of trading cards out of a pack message being visible to other people. # Explain why it's good for the game Bug bad. # Testing Photographs and Procedure # Changelog :cl: fix: Fixes the pulling of trading cards out of a pack message being visible to other people /:cl: --- code/game/objects/items/storage/fancy.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/storage/fancy.dm b/code/game/objects/items/storage/fancy.dm index 7ddf331cdeca..5d7aecbc03db 100644 --- a/code/game/objects/items/storage/fancy.dm +++ b/code/game/objects/items/storage/fancy.dm @@ -241,7 +241,7 @@ /obj/item/storage/fancy/cigarettes/trading_card/attack_hand(mob/user, mods) if(trading_card?.loc == src && loc == user) - user.visible_message(SPAN_NOTICE("You pull a [trading_card.collection_color] trading card out of the cigarette pack.")) + to_chat(user, SPAN_NOTICE("You pull a [trading_card.collection_color] trading card out of the cigarette pack.")) //have to take two disparate systems n' ram 'em together remove_from_storage(trading_card, user.loc) user.put_in_hands(trading_card) @@ -491,7 +491,7 @@ /obj/item/storage/fancy/trading_card/attack_hand(mob/user, mods) if(top_trading_card?.loc == src && loc == user) - user.visible_message(SPAN_NOTICE("You pull a [top_trading_card.collection_color] trading card out of the pack.")) + to_chat(user, SPAN_NOTICE("You pull a [top_trading_card.collection_color] trading card out of the pack.")) //have to take two disparate systems n' ram 'em together remove_from_storage(top_trading_card, user.loc) user.put_in_hands(top_trading_card)