Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Dec 21, 2023
2 parents 26d1970 + 5f669f4 commit a1c36e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esmodules/settings/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Hooks.once("init", async () => {
util.debug("initialized properties...");

util.debug("Migrating invalid settings to default...");
const allSettings = [...game.settings.settings].filter(([k, _]) => k.includes(MODULE_NAME));
const allSettings = [...game.settings.settings].filter(([k, _]) => k.startsWith(MODULE_NAME));
for (const [_, setting] of allSettings) {
const key = setting.key;
const currentValue = game.settings.get(MODULE_NAME, key);
Expand Down

0 comments on commit a1c36e3

Please sign in to comment.