update for FMG 1.73

This commit is contained in:
Mészáros Gergely 2022-03-23 21:29:48 +01:00
parent 7e8f77d0b3
commit 9d96135ba4
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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.");