mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
feat: manually added culture inherits parent culture in Tree (1.96.05)
This commit is contained in:
parent
bf817ee8ed
commit
721cec4e58
4 changed files with 6 additions and 4 deletions
|
|
@ -822,6 +822,7 @@ function addCulture() {
|
|||
|
||||
if (pack.cells.h[center] < 20)
|
||||
return tip("You cannot place culture center into the water. Please click on a land cell", false, "error");
|
||||
|
||||
const occupied = pack.cultures.some(c => !c.removed && c.center === center);
|
||||
if (occupied) return tip("This cell is already a culture center. Please select a different cell", false, "error");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue