added missing square brackets in json export

This commit is contained in:
Daniel Mecke 2020-05-20 21:28:24 +02:00
parent 278069a51f
commit 94b40ad97a

View file

@ -352,7 +352,7 @@ function saveGeoJSON_Cells() {
data += " \"province\": \""+cells.province[i]+"\",\n";
data += " \"culture\": \""+cells.culture[i]+"\",\n";
data += " \"religion\": \""+cells.religion[i]+"\",\n";
data += " \"neighbors\": "+cells.c[i]+"\n";
data += " \"neighbors\": ["+cells.c[i]+"]\n";
data +=" }\n},\n";
});