mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
feat: zones - generation fixes
This commit is contained in:
parent
fdf0d163a8
commit
c17be58efe
4 changed files with 116 additions and 105 deletions
|
|
@ -233,6 +233,7 @@ function editZones() {
|
|||
|
||||
const zoneId = +body.querySelector("div.selected")?.dataset.id;
|
||||
const zone = pack.zones.find(z => z.i === zoneId);
|
||||
if (!zone) return;
|
||||
|
||||
if (eraseMode) {
|
||||
const data = zones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue