From ff03e7f0663078a7790ca5fd69ef26a5dfd095be Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Tue, 6 May 2025 12:57:05 -0400 Subject: [PATCH] Fix dough rolling (#37183) --- Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs b/Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs index 3f8ec5ca5a..3ce285b06c 100644 --- a/Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs +++ b/Content.Server/Nutrition/EntitySystems/SliceableFoodSystem.cs @@ -41,6 +41,9 @@ public sealed class SliceableFoodSystem : EntitySystem if (args.Handled) return; + if (!TryComp(args.Used, out var utensil) || (utensil.Types & UtensilType.Knife) == 0) + return; + var doAfterArgs = new DoAfterArgs(EntityManager, args.User, entity.Comp.SliceTime, -- 2.51.2