From 533099a7def47c4994cdb54946da0341d4a215c4 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 30 Dec 2019 12:13:49 -0600 Subject: [PATCH] Clear groups when resetting the character sheet --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index d4b7725..324c855 100644 --- a/game.js +++ b/game.js @@ -4826,6 +4826,7 @@ function grow_stench(factor, simpleCalc=true){ function resetSettings() { document.forms.namedItem("custom-species-form").reset(); + reset_visible_groups(); updateAllPreviews(); } @@ -5596,7 +5597,6 @@ function update_visible_groups() { groups.forEach(group => { const state = document.querySelector("#group-toggle-" + group).checked; - console.log(state); document.querySelectorAll(".sheet-group-" + group).forEach(category => { if (state) category.style.display = "";