Fixed Holoclown injector not breaking on drop (#37727)

This commit is contained in:
bolantej 2025-05-23 14:42:30 -07:00 committed by Quanteey
parent 0b53cfa22f
commit 2b8714d371
1 changed files with 6 additions and 1 deletions

View File

@ -199,7 +199,12 @@ namespace Content.Server.Guardian
return;
}
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, user, component.InjectionDelay, new GuardianCreatorDoAfterEvent(), injector, target: target, used: injector){BreakOnMove = true});
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, user, component.InjectionDelay, new GuardianCreatorDoAfterEvent(), injector, target: target, used: injector)
{
BreakOnMove = true,
NeedHand = true,
BreakOnHandChange = true
});
}
private void OnDoAfter(EntityUid uid, GuardianCreatorComponent component, DoAfterEvent args)