Fix spreader logic (#15260)

This commit is contained in:
metalgearsloth 2023-04-10 16:43:25 +10:00 committed by GitHub
parent aebe31cfde
commit a17bb60321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;