From 2b2bedee9b0cc59c3a7593c0cf103db19a51fbbc Mon Sep 17 00:00:00 2001 From: DarkPyrolord Date: Wed, 21 Feb 2018 13:11:27 +1300 Subject: [PATCH] Tired code is shitcode --- code/modules/food_and_drinks/food/snacks.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/food_and_drinks/food/snacks.dm b/code/modules/food_and_drinks/food/snacks.dm index a3d0f1faa2f..71a089683ce 100644 --- a/code/modules/food_and_drinks/food/snacks.dm +++ b/code/modules/food_and_drinks/food/snacks.dm @@ -132,8 +132,8 @@ istype(W, /obj/item/weapon/hatchet) \ ) inaccurate = 1 - if(total_w_class > MAX_WEIGHT_CLASS && istype(src,/obj/item/weapon/reagent_containers/food/snacks/sliceable)) - if(contents.len) + else if(W.w_class <= WEIGHT_CLASS_SMALL && istype(src,/obj/item/weapon/reagent_containers/food/snacks/sliceable)) + if(total_w_class > MAX_WEIGHT_CLASS) // Nope, no bluespace slice food to_chat(user, "Something is already in [src]!") return 1