Skip to content

Commit

Permalink
changed pulling method
Browse files Browse the repository at this point in the history
  • Loading branch information
TryHardo7 committed Oct 24, 2024
1 parent 1b27f4d commit 1303d8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Movement/Pulling/Components/PullerComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public sealed partial class PullerComponent : Component
public EntityUid? Pulling;

/// <summary>
/// Does this entity need hands to be able to pull something?
/// Does this entity need hands to be able to pull something? SS220 DarkReaper Access
/// </summary>
[DataField]
[DataField] [Access(Other = AccessPermissions.ReadWriteExecute)]
public bool NeedsHands = true;

[DataField]
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Movement/Pulling/Systems/PullingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void OnPullerStartup(Entity<PullerComponent> entity, ref ComponentStartu
// networked for the space wizards to do it themselves
// right after me, so this will work for now and I don't really care
// COPIUM
if (!HasComp<CartPullerComponent>(entity)&&!HasComp<DarkReaperComponent>(entity))
if (!HasComp<CartPullerComponent>(entity))
return;

entity.Comp.NeedsHands = false;
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/SS220/DarkReaper/DarkReaperSharedSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public virtual void ChangeForm(EntityUid uid, DarkReaperComponent comp, bool isM

if (isMaterial)
{
EnsureComp<PullerComponent>(uid);
EnsureComp<PullerComponent>(uid).NeedsHands = false;
_tag.AddTag(uid, "DoorBumpOpener");

if (TryComp<ExplosionResistanceComponent>(uid, out var explosionResistanceComponent))
Expand Down

0 comments on commit 1303d8d

Please sign in to comment.