From 9e40d7ff51cc6dafbc8e2b5d7aa938af50525528 Mon Sep 17 00:00:00 2001 From: s Date: Wed, 25 Mar 2020 18:53:30 -0400 Subject: [PATCH] Update fermenting_barrel.dm --- code/modules/hydroponics/fermenting_barrel.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/hydroponics/fermenting_barrel.dm b/code/modules/hydroponics/fermenting_barrel.dm index 5d7d90bbfd3..8d996e6b17d 100644 --- a/code/modules/hydroponics/fermenting_barrel.dm +++ b/code/modules/hydroponics/fermenting_barrel.dm @@ -50,9 +50,8 @@ to_chat(user, "You place [I] into [src] to start the fermentation process.") addtimer(CALLBACK(src, .proc/makeWine, fruit), rand(80, 120) * speed_multiplier) return TRUE - var/obj/item/W = I - if(W) - if(W.is_refillable()) + if(I) + if(I.is_refillable()) return FALSE //so we can refill them via their afterattack. else return ..()