From 84e50f3c8975a5e08ee9471fb3d50c5f6ae736a3 Mon Sep 17 00:00:00 2001 From: Miliviu Date: Wed, 17 Jan 2024 14:25:35 +0100 Subject: [PATCH] Fixes force feeding --- code/datums/components/food/edible.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/food/edible.dm b/code/datums/components/food/edible.dm index 459375e9f4485..228b34c8e3d88 100644 --- a/code/datums/components/food/edible.dm +++ b/code/datums/components/food/edible.dm @@ -301,7 +301,7 @@ Behavior that's still missing from this component that original food items had t return var/fullness = eater.nutrition + 10 //The theoretical fullness of the person eating if they were to eat this - var/time_to_eat = (eater = feeder) ? eat_time : EAT_TIME_FORCE_FEED + var/time_to_eat = (eater == feeder) ? eat_time : EAT_TIME_FORCE_FEED if(eater == feeder)//If you're eating it yourself. if(eat_time && !do_after(feeder, time_to_eat, eater, timed_action_flags = food_flags & FOOD_FINGER_FOOD ? IGNORE_USER_LOC_CHANGE | IGNORE_TARGET_LOC_CHANGE : NONE)) //Gotta pass the minimal eat time