v1.5.53 - fix for active provinces linked to removed state

This commit is contained in:
Azgaar 2021-02-24 14:26:41 +03:00
parent d3fe1899b3
commit c2edda6a4a
2 changed files with 12 additions and 1 deletions

View file

@ -209,7 +209,11 @@
}
const generate = function(parent, kinship, dominion, type) {
if (parent === "custom") parent = null;
if (!parent || parent === "custom") {
parent = null;
kinship = 0;
dominion = 0;
}
let usedPattern = null, usedTinctures = [];
const t1 = P(kinship) ? parent.t1 : getTincture("field");