This commit is contained in:
Scott Anderson
2025-04-14 21:00:34 -04:00
parent 02b74077d1
commit 522bc4bffd
+1 -1
View File
@@ -14,7 +14,7 @@ export function closestTwoTiles(
const xSorted = Array.from(x).sort((a, b) => gm.x(a) - gm.x(b));
const ySorted = Array.from(y).sort((a, b) => gm.x(a) - gm.x(b));
if (xSorted.length == 0 || ySorted.length == 0) {
if (xSorted.length === 0 || ySorted.length === 0) {
return null;
}