]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Pointing arrow smite no longer lasts forever (#37102)
authorPerry Fraser <perryprog@users.noreply.github.com>
Fri, 2 May 2025 01:07:15 +0000 (21:07 -0400)
committerGitHub <noreply@github.com>
Fri, 2 May 2025 01:07:15 +0000 (03:07 +0200)
fix: pointing arrow smite no longer lasts forever

Content.Server/Pointing/EntitySystems/RoguePointingSystem.cs

index bdd652f38f111000d2ce1b02c945496fe20819a4..1edcec667765be74901c0056e64740d121e42deb 100644 (file)
@@ -32,7 +32,7 @@ namespace Content.Server.Pointing.EntitySystems
             var angering = _random.Pick(targets);
             angering.Comp.RemainingAnger -= 1;
             if (angering.Comp.RemainingAnger <= 0)
-                RemComp<PointingArrowAngeringComponent>(uid);
+                RemComp<PointingArrowAngeringComponent>(angering);
 
             return angering.Owner;
         }