From 096160a80f1cba1c7f41ca35eafa970a1d508e7f Mon Sep 17 00:00:00 2001 From: Tom Vogt Date: Tue, 17 Sep 2019 06:51:26 +0200 Subject: [PATCH] exporting type (island, lake, etc.) as well now --- modules/save-and-load.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 35f64e65..6c4741f3 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -436,6 +436,7 @@ function saveGeoJSON_Cells() { data += " \"id\": \""+i+"\",\n"; data += " \"height\": \""+height+"\",\n"; data += " \"biome\": \""+cells.biome[i]+"\",\n"; + data += " \"type\": \""+pack.features[cells.f[i]].type+"\",\n"; data += " \"population\": \""+getFriendlyPopulation(i)+"\",\n"; data += " \"state\": \""+cells.state[i]+"\",\n"; data += " \"province\": \""+cells.province[i]+"\",\n";