mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 23:24:36 +00:00
allow names to go on top of radiation
This commit is contained in:
@@ -91,7 +91,9 @@ export function createGrid(
|
||||
if (game.isOnMap(cell)) {
|
||||
const tile = game.ref(cell.x, cell.y);
|
||||
grid[x - scaledBoundingBox.min.x][y - scaledBoundingBox.min.y] =
|
||||
game.isLake(tile) || game.owner(tile) === player; // TODO: okay if lake
|
||||
game.isLake(tile) ||
|
||||
game.owner(tile) === player ||
|
||||
game.hasFallout(tile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user