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 } } }