From: themias <89101928+themias@users.noreply.github.com> Date: Tue, 6 May 2025 16:57:05 +0000 (-0400) Subject: Fix dough rolling (#37183) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ff03e7f0663078a7790ca5fd69ef26a5dfd095be;p=space-station-14.git Fix dough rolling (#37183) --- 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,