From 5eca641bec0b011bbd8c0de03971f122207dc6c3 Mon Sep 17 00:00:00 2001 From: An Orbit <68935009+orbit-loona@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:53:47 -0500 Subject: [PATCH] fix rebuildWorldgenList not deleting the existing entries --- mods/a_mod_by_alice.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/a_mod_by_alice.js b/mods/a_mod_by_alice.js index 553aacc1..60007e87 100644 --- a/mods/a_mod_by_alice.js +++ b/mods/a_mod_by_alice.js @@ -26687,9 +26687,10 @@ ${eightSpaces}Example full decor definition: bird:0.04:10:#FF0000,#FFFF00,#00FF0 } function rebuildWorldgenList() { //vanilla code + document.getElementById("worldgenselect").innerHTML = ''; for (var key in worldgentypes) { document.getElementById("worldgenselect").innerHTML += ""; - } + }; }; function bareClear() {