Update src/modules/states-generator.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Marc Emmanuel 2026-01-29 08:14:59 +01:00 committed by GitHub
parent e366ded601
commit 460f5dbc2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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