mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-14 19:29:57 +01:00
Fix dough rolling (#37183)
This commit is contained in:
@@ -41,6 +41,9 @@ public sealed class SliceableFoodSystem : EntitySystem
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
if (!TryComp<UtensilComponent>(args.Used, out var utensil) || (utensil.Types & UtensilType.Knife) == 0)
|
||||
return;
|
||||
|
||||
var doAfterArgs = new DoAfterArgs(EntityManager,
|
||||
args.User,
|
||||
entity.Comp.SliceTime,
|
||||
|
||||
Reference in New Issue
Block a user