fix radar tiles

This commit is contained in:
Matt Walsh
2026-04-08 23:01:42 -05:00
parent f4289e6329
commit d2bf8f3f99

View File

@@ -51,8 +51,8 @@ const setTiles = (data) => {
const secondRow = tileShift.y + TILE_SIZE.y > RADAR_FINAL_SIZE().height;
const usedTiles = [
true,
tileShift.x + TILE_SIZE.x > RADAR_FINAL_SIZE.width,
tileShift.x + (TILE_SIZE.x * 2) > RADAR_FINAL_SIZE.width,
tileShift.x + TILE_SIZE.x > RADAR_FINAL_SIZE().width,
tileShift.x + (TILE_SIZE.x * 2) > RADAR_FINAL_SIZE().width,
secondRow,
];
// second row is a copy of the first row when in use