diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 607e1d7e..77da271f 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -351,7 +351,8 @@ function saveGeoJSON_Cells() { data += " \"state\": \""+cells.state[i]+"\",\n"; data += " \"province\": \""+cells.province[i]+"\",\n"; data += " \"culture\": \""+cells.culture[i]+"\",\n"; - data += " \"religion\": \""+cells.religion[i]+"\"\n"; + data += " \"religion\": \""+cells.religion[i]+"\",\n"; + data += " \"neighbors\": ["+cells.c[i]+"]\n"; data +=" }\n},\n"; }); diff --git a/modules/ui/elevation-profile.js b/modules/ui/elevation-profile.js index 209b6ba8..f816ce07 100644 --- a/modules/ui/elevation-profile.js +++ b/modules/ui/elevation-profile.js @@ -49,7 +49,7 @@ function showElevationProfile(data, routeLen, isRiver) { const chartHeight = 300; // height of our land/sea profile, excluding the biomes data below const xOffset = 80; - const yOffset = 20; // this is our drawing starting point from top-left (y = 0) of SVG + const yOffset = 80; // this is our drawing starting point from top-left (y = 0) of SVG const biomesHeight = 40;