mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 12:31:24 +01:00
update for FMG 1.73
This commit is contained in:
parent
7e8f77d0b3
commit
9d96135ba4
2 changed files with 2 additions and 2 deletions
|
|
@ -861,7 +861,7 @@ window.Markers = (function () {
|
|||
const {burgs} = pack;
|
||||
let portals = burgs
|
||||
.slice(1, Math.ceil(burgs.length / 10) + 1)
|
||||
.filter(({cell}) => !occupied[cell])
|
||||
.filter(({cell}) => cell && !occupied[cell])
|
||||
.map(burg => [burg.name, burg.cell]);
|
||||
let quantity = getQuantity(portals, 16, 8, multiplier);
|
||||
if (!quantity) return;
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ window.Submap = (function () {
|
|||
|
||||
stage("Modelling military, markers and zones (if requested).");
|
||||
if (options.addMilitary) Military.generate();
|
||||
if (options.addMarkers) addMarkers();
|
||||
if (options.addMarkers) Markers.generate();
|
||||
if (options.addZones) addZones();
|
||||
Names.getMapName();
|
||||
stage("Submap done.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue