mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 22:33:25 +00:00
allow name to be placed on shore tiles, this prevents rivers from bisecting player names causing them to be too small
This commit is contained in:
@@ -92,6 +92,7 @@ export function createGrid(
|
||||
const tile = game.ref(cell.x, cell.y);
|
||||
grid[x - scaledBoundingBox.min.x][y - scaledBoundingBox.min.y] =
|
||||
game.isLake(tile) ||
|
||||
game.isShore(tile) ||
|
||||
game.owner(tile) === player ||
|
||||
game.hasFallout(tile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user