Merge branch 'faith-update' into new-faith+update

This commit is contained in:
Alexander James 2023-03-02 20:54:24 -07:00 committed by GitHub
commit 2c7624cdb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 254 additions and 21 deletions

View file

@ -2038,6 +2038,8 @@ const regenerateMap = debounce(async function (options) {
customization = 0;
resetZoom(1000);
undraw();
pack.religions = [];
pack.cultures = [];
await generate(options);
restoreLayers();
if (ThreeD.options.isOn) ThreeD.redraw();