From 12a48119c61e889ba19ac0d72e60bc713bdea2be Mon Sep 17 00:00:00 2001 From: ghostlyzsh Date: Mon, 8 Apr 2024 23:48:22 -0500 Subject: [PATCH] fmt hates committing its changes --- starkingdoms-client/src/pages/ShipEditor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starkingdoms-client/src/pages/ShipEditor.svelte b/starkingdoms-client/src/pages/ShipEditor.svelte index f321c322c03d3a0aaff6544faa378e95eacc5036..473f7362ba0ad1a3166ca9cf0b1334ef84ae6c22 100644 --- a/starkingdoms-client/src/pages/ShipEditor.svelte +++ b/starkingdoms-client/src/pages/ShipEditor.svelte @@ -382,7 +382,7 @@ // down children[2] = save_recursive(x, y - y_dir); }*/ - let up_rotation = (rotation+2)%4; + let up_rotation = (rotation + 2) % 4; if ( grid.get(x + x_dir[up_rotation])?.get(y + y_dir[up_rotation])?.[1] == up_rotation