A bunch of AttachedEntity bullshit

This commit is contained in:
metalgearsloth
2021-12-06 15:39:46 +11:00
parent 215cae5655
commit 525297c5fe
58 changed files with 135 additions and 133 deletions

View File

@@ -35,9 +35,9 @@ namespace Content.Shared.Cuffs
private void HandleStopPull(EntityUid uid, SharedCuffableComponent component, StopPullingEvent args)
{
if (args.User == null || !EntityManager.EntityExists(args.User.Value) return;
if (args.User == null || !EntityManager.EntityExists(args.User.Value)) return;
if (user == component.Owner && !component.CanStillInteract)
if (args.User.Value == component.Owner && !component.CanStillInteract)
{
args.Cancel();
}