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-30 16:31:06 +01:00 committed by GitHub
parent 460f5dbc2f
commit 6a13f70a02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -609,7 +609,7 @@ class StatesModule {
.forEach((v) => {
attackers.push(v);
// TODO: I think here is a bug, it should be ap instead of dp
dp += states[v].area! * states[v].expansionism;
ap += states[v].area! * states[v].expansionism;
war.push(
`${states[d].name}'s vassal ${states[v].name} joined the war on attackers side`,
);