Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TryHardo7 committed Oct 24, 2024
1 parent c4b0fa1 commit b0d79f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Content.Shared/SS220/DarkReaper/DarkReaperSharedSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Content.Shared.Damage;
using Content.Shared.DoAfter;
using Content.Shared.Explosion.Components;
using PullableComponent = Content.Shared.Movement.Pulling.Components.PullableComponent;
using Content.Shared.Flash;
using Content.Shared.Flash.Components;
using Content.Shared.Humanoid;
Expand Down Expand Up @@ -89,8 +88,7 @@ public override void Initialize()
private void OnRoflAction(EntityUid uid, DarkReaperComponent comp, ReaperRoflEvent args)
{
args.Handled = true;
if (!comp.PhysicalForm)
return;

DoRoflAbility(uid, comp);
}

Expand Down Expand Up @@ -433,6 +431,7 @@ public virtual void ChangeForm(EntityUid uid, DarkReaperComponent comp, bool isM
_npcFaction.AddFaction(uid, "DarkReaperPassive");
}
_appearance.SetData(uid, DarkReaperVisual.StunEffect, false);

if (TryComp(uid, out PullerComponent? puller) && TryComp(puller.Pulling, out PullableComponent? pullable))
_puller.TryStopPull(puller.Pulling.Value, pullable);
RemComp<PullerComponent>(uid);
Expand Down

0 comments on commit b0d79f5

Please sign in to comment.