From 21fb4676bf627cdff13b577fd3a9d6f35fe33d44 Mon Sep 17 00:00:00 2001 From: jalensailin Date: Sun, 27 Jul 2025 22:50:41 -0400 Subject: [PATCH] fix settings not persisting --- module/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/settings.js b/module/settings.js index 9cb5d70..9f0baa0 100644 --- a/module/settings.js +++ b/module/settings.js @@ -81,7 +81,7 @@ const SettingForm = class extends HandlebarsApplicationMixin(ApplicationV2) { const settingsPromises = []; // Set each setting with the new value, if any. - for (const [key, value] of Object.entries(data)) { + for (const [key, value] of Object.entries(data[DG.ID])) { settingsPromises.push(game.settings.set(DG.ID, key, value)); }