]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix spreader logic (#15260)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 10 Apr 2023 06:43:25 +0000 (16:43 +1000)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2023 06:43:25 +0000 (16:43 +1000)
Content.Server/Spreader/SpreaderSystem.cs

index c8274874413242fbc734614ac3297f07a71a6e2e..368c652128c0f169ef6cf2c77f542416d97aa4e6 100644 (file)
@@ -236,7 +236,7 @@ public sealed class SpreaderSystem : EntitySystem
                             continue;
 
                         var airDirection = value.ToDirection();
-                        var oppositeDirection = value.ToDirection();
+                        var oppositeDirection = value.ToDirection().GetOpposite();
 
                         if (direction != airDirection && direction != oppositeDirection)
                             continue;