Skip to content

Commit

Permalink
Some fixes for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Sep 16, 2024
1 parent 28e1660 commit d56522b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions scripts/helpers/settingsConfigForm.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export class SettingsConfigForm extends FormApplication {
// lots of other things...
constructor(options) {
super();
this.options = options;
super(options);
this.options = foundry.utils.mergeObject(this.constructor.defaultOptions, options);
}


Expand All @@ -13,6 +13,8 @@ export class SettingsConfigForm extends FormApplication {
template: `modules/pf2e-rpg-numbers/templates/config.html`,
id: 'pf2e-rpg-numbers-settings-form',
title: 'Pf2e RPG #s Config Menu',
width: 500,
height: 'auto'
});
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Hooks.on("init", () => {
// type: SettingsForm,
// restricted: false
// });
game.settings.registerMenu(MODULE_ID, "mySettingsMenu", {
game.settings.registerMenu(MODULE_ID, "pf2eRPGSettingsMenu", {
name: "PF2e RPG Settings",
label: "PF2e RPG Settings", // The text label used in the button
hint: "Settings for the PF2e RPG settings",
Expand Down

0 comments on commit d56522b

Please sign in to comment.