From c21be0b102e32a0efd49d900c63150fc73faa5bb Mon Sep 17 00:00:00 2001
From: chuga-git <98280110+chuga-git@users.noreply.github.com>
Date: Fri, 29 Nov 2024 19:21:09 -0600
Subject: [PATCH] excludes user from seeing storage insertion message (#27490)
---
code/game/objects/items/weapons/storage/storage_base.dm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/code/game/objects/items/weapons/storage/storage_base.dm b/code/game/objects/items/weapons/storage/storage_base.dm
index 5cb6123a1294..4335e8a213ac 100644
--- a/code/game/objects/items/weapons/storage/storage_base.dm
+++ b/code/game/objects/items/weapons/storage/storage_base.dm
@@ -468,14 +468,12 @@
add_fingerprint(user)
if(!prevent_warning)
- // all mobs with clients attached, sans the item's user
-
// the item's user will always get a notification
to_chat(user, "You put [I] into [src].")
// if the item less than normal sized, only people within 1 tile get the message, otherwise, everybody in view gets it
if(I.w_class < WEIGHT_CLASS_NORMAL)
- for(var/mob/M in range(1, user))
+ for(var/mob/M in orange(1, user))
if(in_range(M, user))
M.show_message("[user] puts [I] into [src].")
else