mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -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 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
|
||||
|
||||
Reference in New Issue
Block a user