From 596f5e71582e82818023f54e395357c828dfccb0 Mon Sep 17 00:00:00 2001 From: MiraHell <42539014+MiraHell@users.noreply.github.com> Date: Sat, 18 Jan 2025 02:58:19 +0300 Subject: [PATCH] small fix --- code/modules/food_and_drinks/food_base.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/food_and_drinks/food_base.dm b/code/modules/food_and_drinks/food_base.dm index a03e2a1f8fc8..718d6b56cf19 100644 --- a/code/modules/food_and_drinks/food_base.dm +++ b/code/modules/food_and_drinks/food_base.dm @@ -284,7 +284,7 @@ if(!Adjacent(user)) return var/obj/item/I = user.get_active_hand() - if(!I) + if(!I || I == src) // dont try to slip inside itself return if(I.w_class > WEIGHT_CLASS_SMALL) to_chat(user, "You cannot fit [I] in [src]!")