mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
v1.22.30
This commit is contained in:
parent
c558029992
commit
f684996f82
1 changed files with 1 additions and 1 deletions
|
|
@ -842,7 +842,7 @@
|
||||||
const provinces = pack.provinces = [0];
|
const provinces = pack.provinces = [0];
|
||||||
cells.province = new Uint16Array(cells.i.length); // cell state
|
cells.province = new Uint16Array(cells.i.length); // cell state
|
||||||
const percentage = +provincesInput.value;
|
const percentage = +provincesInput.value;
|
||||||
if (states.length < 2 || !percentage) return; // no provinces
|
if (states.length < 2 || !percentage) {states.forEach(s => s.provinces = []); return;} // no provinces
|
||||||
const max = percentage == 100 ? 1000 : gauss(20, 5, 5, 100) * percentage ** .5; // max growth
|
const max = percentage == 100 ? 1000 : gauss(20, 5, 5, 100) * percentage ** .5; // max growth
|
||||||
|
|
||||||
const forms = {
|
const forms = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue