mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 09:31:23 +01:00
Update src/modules/states-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
e366ded601
commit
460f5dbc2f
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ class StatesModule {
|
|||
valid.forEach((s) => {
|
||||
s.diplomacy = new Array(states.length).fill("x"); // clear all relationships
|
||||
});
|
||||
if (valid.length < 2) return; // no states to renerate relations with
|
||||
if (valid.length < 2) return; // no states to generate relations with
|
||||
const areaMean: number = mean(valid.map((s) => s.area!)) as number; // average state area
|
||||
|
||||
// generic relations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue