diff --git a/Content.Server/Backmen/Psionics/NPC/GlimmerWisp/GlimmerWispSystem.cs b/Content.Server/Backmen/Psionics/NPC/GlimmerWisp/GlimmerWispSystem.cs index 7e4b4742f74..e2c7a7b8da1 100644 --- a/Content.Server/Backmen/Psionics/NPC/GlimmerWisp/GlimmerWispSystem.cs +++ b/Content.Server/Backmen/Psionics/NPC/GlimmerWisp/GlimmerWispSystem.cs @@ -8,8 +8,8 @@ using Content.Shared.Backmen.Psionics.Events; using Content.Shared.Rejuvenate; using Content.Shared.ActionBlocker; -using Content.Shared.Pulling.Components; using Content.Server.Popups; +using Content.Shared.Movement.Pulling.Components; using Content.Shared.NPC.Systems; using Robust.Server.Audio; using Robust.Shared.Player; @@ -70,7 +70,7 @@ private void OnDrain(EntityUid uid, GlimmerWispComponent component, GlimmerWispD if (args.Cancelled) { _audioSystem.Stop(component.DrainStingStream, component.DrainStingStream); - if (TryComp(args.Args.Target.Value, out var pullable) && + if (TryComp(args.Args.Target.Value, out var pullable) && pullable.Puller != null) { _npcFaction.AggroEntity(uid, pullable.Puller.Value); diff --git a/Content.Server/Backmen/Species/Shadowkin/Systems/ShadowkinPowerSystem.Teleport.cs b/Content.Server/Backmen/Species/Shadowkin/Systems/ShadowkinPowerSystem.Teleport.cs index dfc8839323a..e7b602e010f 100644 --- a/Content.Server/Backmen/Species/Shadowkin/Systems/ShadowkinPowerSystem.Teleport.cs +++ b/Content.Server/Backmen/Species/Shadowkin/Systems/ShadowkinPowerSystem.Teleport.cs @@ -1,7 +1,6 @@ using Content.Server.Backmen.Species.Shadowkin.Components; using Content.Server.Backmen.Species.Shadowkin.Events; using Content.Server.Magic; -using Content.Server.Pulling; using Content.Server.Backmen.Species.Shadowkin.Components; using Content.Server.Backmen.Species.Shadowkin.Events; using Content.Shared.Actions; @@ -9,8 +8,9 @@ using Content.Shared.Backmen.Species.Shadowkin.Components; using Content.Shared.Cuffs.Components; using Content.Shared.Damage.Systems; -using Content.Shared.Pulling.Components; using Content.Shared.Backmen.Species.Shadowkin.Components; +using Content.Shared.Movement.Pulling.Components; +using Content.Shared.Movement.Pulling.Systems; using Robust.Server.GameObjects; using Robust.Shared.Audio; using Robust.Shared.Audio.Systems; @@ -66,14 +66,14 @@ private void Teleport(EntityUid uid, ShadowkinTeleportPowerComponent component, if (transform.MapID != args.Target.GetMapId(EntityManager) || transform.GridUid == null) return; - SharedPullableComponent? pullable = null; // To avoid "might not be initialized when accessed" warning - if (TryComp(args.Performer, out var puller) && + PullableComponent? pullable = null; // To avoid "might not be initialized when accessed" warning + if (TryComp(args.Performer, out var puller) && puller.Pulling != null && - TryComp(puller.Pulling, out pullable) && + TryComp(puller.Pulling, out pullable) && pullable.BeingPulled) { // Temporarily stop pulling to avoid not teleporting to the target - _pulling.TryStopPull(pullable); + _pulling.TryStopPull(puller.Pulling.Value, pullable); } // Teleport the performer to the target @@ -92,7 +92,7 @@ private void Teleport(EntityUid uid, ShadowkinTeleportPowerComponent component, // Resume pulling // TODO: This does nothing? // This does things sometimes, but the client never knows - _pulling.TryStartPull(puller, pullable); + _pulling.TryStartPull(args.Performer, puller.Pulling.Value, null, puller, pullable); } diff --git a/Content.Shared/Backmen/StationAI/Systems/SharedStationAISystem.cs b/Content.Shared/Backmen/StationAI/Systems/SharedStationAISystem.cs index cc428cb5080..92c1eb334e5 100644 --- a/Content.Shared/Backmen/StationAI/Systems/SharedStationAISystem.cs +++ b/Content.Shared/Backmen/StationAI/Systems/SharedStationAISystem.cs @@ -5,7 +5,6 @@ using Content.Shared.Interaction.Events; using Content.Shared.Inventory.Events; using Content.Shared.Movement.Events; -using Content.Shared.Physics.Pull; using Robust.Shared.Console; namespace Content.Shared.Backmen.StationAI; diff --git a/Resources/Prototypes/Maps/saltern.yml b/Resources/Prototypes/Maps/saltern.yml index 116a4b0d375..66d0c06e7b4 100644 --- a/Resources/Prototypes/Maps/saltern.yml +++ b/Resources/Prototypes/Maps/saltern.yml @@ -62,7 +62,6 @@ Mime: [ 1, 1 ] Musician: [ 1, 1 ] # backmen - Paramedic: [ 1, 1 ] # backmen-Paramedic Brigmedic: [ 0, 1 ] # backmen-Brigmedic BKBPLATech: [0, 3] # backmen-BPLA-Silicons BKBPLAMED: [0, 3] # backmen-BPLAMED-Silicons