mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41: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");
|
||||
if (mapLink) {
|
||||
// set up global state
|
||||
applyNamesData();
|
||||
applyMapSize();
|
||||
placePoints();
|
||||
calculateVoronoi(points);
|
||||
|
||||
|
||||
makeFileFromUrl(decodeURIComponent(mapLink)).then(blob => {
|
||||
uploadFile(blob);
|
||||
manorsAndRegions(); // namesBase global state
|
||||
})
|
||||
} else {
|
||||
applyNamesData(); // apply default namesbase on load
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue