diff --git a/index.html b/index.html
index d42ddad6..b6dfe265 100644
--- a/index.html
+++ b/index.html
@@ -5420,12 +5420,7 @@
Order
Name
Preview generator
- Population
-
- Percentile
-
+ Population
Biomes
States
Cultures
@@ -8496,7 +8491,7 @@
-
+
@@ -8538,7 +8533,7 @@
-
+
diff --git a/modules/burgs-generator.js b/modules/burgs-generator.js
index 1e530fe2..20cd0fd1 100644
--- a/modules/burgs-generator.js
+++ b/modules/burgs-generator.js
@@ -399,8 +399,8 @@ window.Burgs = (() => {
const [x2, y2] = cells.p[cells.haven[cell]];
const deg = (Math.atan2(y2 - y1, x2 - x1) * 180) / Math.PI;
- if (deg <= 0) return normalize(Math.abs(deg), 0, 180);
- return 2 - normalize(deg, 0, 180);
+ if (deg <= 0) return rn(normalize(Math.abs(deg), 0, 180), 2);
+ return rn(2 - normalize(deg, 0, 180), 2);
})();
const arableBiomes = river ? [1, 2, 3, 4, 5, 6, 7, 8] : [5, 6, 7, 8];
diff --git a/modules/ui/burg-group-editor.js b/modules/ui/burg-group-editor.js
index 09efc130..48fc8089 100644
--- a/modules/ui/burg-group-editor.js
+++ b/modules/ui/burg-group-editor.js
@@ -13,7 +13,7 @@ function editBurgGroups() {
byId("burgGroupsForm").requestSubmit();
},
Add: () => {
- byId("burgGroupsBody").innerHTML += createLine({name: "", active: true, preview: null});
+ byId("burgGroupsBody").insertAdjacentHTML("beforeend", createLine({name: "", active: true, preview: null}));
},
Restore: () => {
options.burgs.groups = Burgs.getDefaultGroups();
@@ -69,9 +69,9 @@ function editBurgGroups() {
Watabou Dwelling
-
-
-
+
+
+
${group.biomes ? "some" : "all"}
diff --git a/versioning.js b/versioning.js
index f3bd90b9..1c4d005e 100644
--- a/versioning.js
+++ b/versioning.js
@@ -13,7 +13,7 @@
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.109.4";
+const VERSION = "1.109.5";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{