Fix mail cutting thinking your arms are infinite length (#37019)

* init

* hand
This commit is contained in:
ScarKy0
2025-04-28 23:16:14 +02:00
committed by GitHub
parent 75a90152a7
commit 9d8cc64d48

View File

@@ -66,12 +66,13 @@ public sealed partial class SimpleToolUsageSystem : EntitySystem
if (attemptEv.Cancelled)
return;
var doAfterArgs = new DoAfterArgs(EntityManager, user, ent.Comp.DoAfter, new SimpleToolDoAfterEvent(), ent, tool)
var doAfterArgs = new DoAfterArgs(EntityManager, user, ent.Comp.DoAfter, new SimpleToolDoAfterEvent(), ent, ent, tool)
{
BreakOnDamage = true,
BreakOnDropItem = true,
BreakOnMove = true,
BreakOnHandChange = true,
NeedHand = true,
};
_doAfterSystem.TryStartDoAfter(doAfterArgs);