mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Quickfix "Names for German base incorrect"
This commit is contained in:
parent
2090d1c96b
commit
dc70a86613
1 changed files with 3 additions and 1 deletions
|
|
@ -270,12 +270,14 @@ function fantasyMap() {
|
||||||
const mapLink = params.get("maplink");
|
const mapLink = params.get("maplink");
|
||||||
if (mapLink) {
|
if (mapLink) {
|
||||||
// set up global state
|
// set up global state
|
||||||
|
applyNamesData();
|
||||||
applyMapSize();
|
applyMapSize();
|
||||||
placePoints();
|
placePoints();
|
||||||
calculateVoronoi(points);
|
calculateVoronoi(points);
|
||||||
|
|
||||||
makeFileFromUrl(decodeURIComponent(mapLink)).then(blob => {
|
makeFileFromUrl(decodeURIComponent(mapLink)).then(blob => {
|
||||||
uploadFile(blob);
|
uploadFile(blob);
|
||||||
|
manorsAndRegions(); // namesBase global state
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
applyNamesData(); // apply default namesbase on load
|
applyNamesData(); // apply default namesbase on load
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue