From 675a628452e53fb07845e083f6e097c55f1edde3 Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Fri, 3 Oct 2014 00:26:26 +0100 Subject: [PATCH] Sliceable Flatdough Knife fix Fixes the knife getting eaten by the dough --- code/modules/food/customizables.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/food/customizables.dm b/code/modules/food/customizables.dm index a7e21e4d..1e703d75 100644 --- a/code/modules/food/customizables.dm +++ b/code/modules/food/customizables.dm @@ -11,6 +11,9 @@ del(src) /obj/item/weapon/reagent_containers/food/snacks/sliceable/flatdough/attackby(obj/item/W as obj, mob/user as mob) + if(istype(W,/obj/item/weapon/kitchenknife)) + ..() + return if(istype(W,/obj/item/weapon/reagent_containers/food)) var/obj/item/weapon/reagent_containers/food/snacks/customizable/pizza/S = new(get_turf(user)) S.attackby(W,user)