From 7e1a5857b15706b759542c1a68e9f6ee141a4887 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Tue, 7 Oct 2025 13:58:29 +0200 Subject: [PATCH] fix(autorouter/compass_direction): Correct flipped North/South --- src/autorouter/compass_direction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autorouter/compass_direction.rs b/src/autorouter/compass_direction.rs index 81c29e5..21e3445 100644 --- a/src/autorouter/compass_direction.rs +++ b/src/autorouter/compass_direction.rs @@ -33,9 +33,9 @@ impl CardinalDirection { } } else { if vector.y() > 0.0 { - Self::North - } else { Self::South + } else { + Self::North } } }