mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-21 02:59:31 -07:00
fix radar tiles
This commit is contained in:
@@ -51,8 +51,8 @@ const setTiles = (data) => {
|
|||||||
const secondRow = tileShift.y + TILE_SIZE.y > RADAR_FINAL_SIZE().height;
|
const secondRow = tileShift.y + TILE_SIZE.y > RADAR_FINAL_SIZE().height;
|
||||||
const usedTiles = [
|
const usedTiles = [
|
||||||
true,
|
true,
|
||||||
tileShift.x + TILE_SIZE.x > RADAR_FINAL_SIZE.width,
|
tileShift.x + TILE_SIZE.x > RADAR_FINAL_SIZE().width,
|
||||||
tileShift.x + (TILE_SIZE.x * 2) > RADAR_FINAL_SIZE.width,
|
tileShift.x + (TILE_SIZE.x * 2) > RADAR_FINAL_SIZE().width,
|
||||||
secondRow,
|
secondRow,
|
||||||
];
|
];
|
||||||
// second row is a copy of the first row when in use
|
// second row is a copy of the first row when in use
|
||||||
|
|||||||
Reference in New Issue
Block a user