Fixed Holoclown injector not breaking on drop (#37727)

This commit is contained in:
bolantej
2025-05-23 14:42:30 -07:00
committed by GitHub
parent 1f5026bcef
commit e5144c5df8

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)