refactor(#902): regenerate religions

This commit is contained in:
Azgaar 2023-01-02 01:12:18 +03:00
parent 788ce5f1db
commit 2595ab9408
3 changed files with 157 additions and 253 deletions

View file

@ -210,7 +210,7 @@ function showMapTooltip(point, e, i, g) {
const r = pack.religions[religion];
const type = r.type === "Cult" || r.type == "Heresy" ? r.type : r.type + " religion";
tip(type + ": " + r.name);
if (religionsEditor?.offsetParent) highlightEditorLine(religionsEditor, religion);
if (byId("religionsEditor")?.offsetParent) highlightEditorLine(religionsEditor, religion);
} else if (pack.cells.state[i] && (layerIsOn("toggleProvinces") || layerIsOn("toggleStates"))) {
const state = pack.cells.state[i];
const stateName = pack.states[state].fullName;