Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraHell committed Jan 17, 2025
1 parent 93ed0f0 commit 596f5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/food_and_drinks/food_base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<span class='warning'>You cannot fit [I] in [src]!</span>")
Expand Down

0 comments on commit 596f5e7

Please sign in to comment.