From d29abfc473d0ed2db024b677598502e70e201670 Mon Sep 17 00:00:00 2001 From: xXDMOGXx <83487906+xXDMOGXx@users.noreply.github.com> Date: Mon, 13 Oct 2025 20:52:56 -0500 Subject: [PATCH] I'm an idiot --- src/server/robot/path-materializer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/robot/path-materializer.ts b/src/server/robot/path-materializer.ts index 9dee705c..8a93ea23 100644 --- a/src/server/robot/path-materializer.ts +++ b/src/server/robot/path-materializer.ts @@ -262,7 +262,7 @@ function findShimmyLocation( // Vertical case CollisionType.VERTICAL: { const direction: [number, number] = directionToEdge(move.to); - const gridX: number = Math.floor(shimmyPos.y); + const gridX: number = Math.floor(shimmyPos.x); if (gridX === move.to.i) { const augmentX: number = shimmyPos.x + direction[0] * -axisShimmyAmount;