Explorar el Código

Clear groups when resetting the character sheet

tags/v1.1.2
Fen Dweller hace 5 años
padre
commit
533099a7de
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: E80B35A6F11C3656
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      game.js

+ 1
- 1
game.js Ver fichero

@@ -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 = "";


Cargando…
Cancelar
Guardar