From e9e127c1c679db1d1c728ae7c37f6180b94449da Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Tue, 17 Oct 2023 01:38:44 +0200 Subject: [PATCH] [s] Removes something (#22927) * Eyyyy my shitcode works * Comment * Let's not use the proc here --- code/game/objects/items/weapons/storage/bags.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/items/weapons/storage/bags.dm b/code/game/objects/items/weapons/storage/bags.dm index aca624645eb..435612397d0 100644 --- a/code/game/objects/items/weapons/storage/bags.dm +++ b/code/game/objects/items/weapons/storage/bags.dm @@ -56,6 +56,11 @@ if(isstorage(loc) && !istype(loc, /obj/item/storage/backpack/holding)) to_chat(usr, "You can't seem to fit [I] into [src].") return FALSE + if(ishuman(loc)) // If the trashbag is on a humanoid, they can't store things in it while it's in their pockets + var/mob/living/carbon/human/H = loc + if(H.l_store == src || H.r_store == src) + to_chat(usr, "You can't seem to fit [I] into [src].") + return FALSE . = ..() /obj/item/storage/bag/trash/Initialize(mapload)