fix(autorouter/compass_direction): Correct flipped North/South

This commit is contained in:
Mikolaj Wielgus 2025-10-07 13:58:29 +02:00
parent c630abcdc1
commit 7e1a5857b1
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ impl CardinalDirection {
} }
} else { } else {
if vector.y() > 0.0 { if vector.y() > 0.0 {
Self::North
} else {
Self::South Self::South
} else {
Self::North
} }
} }
} }