diff --git a/css/deltagreen.css b/css/deltagreen.css
index a3209fc..9aa63fe 100644
--- a/css/deltagreen.css
+++ b/css/deltagreen.css
@@ -1295,12 +1295,4 @@ body:not(.no-theme) #interface:not(.theme-light) #action-bar .slot.full:hover {
.strike {
text-decoration: line-through;
-}
-
-.settings-menu {
- footer {
- position: absolute;
- left: 10px;
- bottom: 10px;
- }
}
\ No newline at end of file
diff --git a/module/settings.js b/module/settings.js
index 5ae2d51..6a053bd 100644
--- a/module/settings.js
+++ b/module/settings.js
@@ -22,7 +22,7 @@ const SettingForm = class extends HandlebarsApplicationMixin(ApplicationV2) {
config: false,
name: game.i18n.localize(`DG.Settings.${settingID}.name`),
hint: game.i18n.localize(`DG.Settings.${settingID}.hint`),
- ...setting,
+ ...settings[settingID],
});
}
}
@@ -43,6 +43,7 @@ const SettingForm = class extends HandlebarsApplicationMixin(ApplicationV2) {
static PARTS = {
form: { template: `systems/${DG.ID}/templates/settings.hbs` },
+ footer: { template: `systems/${DG.ID}/templates/save.hbs` },
}
/** @override */
@@ -52,7 +53,7 @@ const SettingForm = class extends HandlebarsApplicationMixin(ApplicationV2) {
const settingsPromises = [];
for (const [key, value] of Object.entries(data)) {
- settingsPromises.push(game.settings.set(DG.ID, key, value);
+ settingsPromises.push(game.settings.set(DG.ID, key, value));
}
Promise.allSettled(settingsPromises).then((values) => {
diff --git a/templates/save.hbs b/templates/save.hbs
new file mode 100644
index 0000000..781165a
--- /dev/null
+++ b/templates/save.hbs
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/templates/settings.hbs b/templates/settings.hbs
index f634d2d..37f6720 100644
--- a/templates/settings.hbs
+++ b/templates/settings.hbs
@@ -18,8 +18,4 @@
{{/if}}
{{/each}}
-
-
\ No newline at end of file