add info text

This commit is contained in:
Mészáros Gergely 2022-03-31 22:29:06 +02:00
parent 385fdca868
commit 6c2c024333
2 changed files with 14 additions and 6 deletions

View file

@ -210,9 +210,8 @@ window.Submap = (function () {
// TODO: normalize according to the base-map
rankCells();
// transfer basemap cultures
stage("Porting Cultures");
pack.cultures = parentMap.pack.cultures;
// fix culture centers
const validCultures = new Set(pack.cells.culture);
pack.cultures.forEach((c, i) => {
@ -292,8 +291,13 @@ window.Submap = (function () {
Military.redraw();
stage("markers and zones (if requested).");
if (options.addMarkers) Markers.generate();
if (options.addZones) addZones();
if (!options.copyMarkers) Markers.generate();
else {
// TODO
pack.markers = [];
}
if (!options.copyZones) addZones();
Names.getMapName();
stage("Submap done.");