From 94b40ad97afb0e21ac112ea8f2293bebc450551b Mon Sep 17 00:00:00 2001 From: Daniel Mecke Date: Wed, 20 May 2020 21:28:24 +0200 Subject: [PATCH] added missing square brackets in json export --- modules/save-and-load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 57333319..77da271f 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -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"; });