From 96e4f78575c620f4abebb8aae031251fa995f08a Mon Sep 17 00:00:00 2001 From: cadowtin Date: Thu, 29 Feb 2024 02:11:56 -0600 Subject: [PATCH] Fix to settings grab + localization --- languages/en.json | 2 +- scripts/module.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/en.json b/languages/en.json index 4d8f3cc..f494b25 100644 --- a/languages/en.json +++ b/languages/en.json @@ -14,7 +14,7 @@ "none": "Don't Show", "alt-sound": "Use alt. Sound", "alt-image": "Use alt. Pop Up", - "alt-sound-image": "use alt. Sound & Pop Up" + "alt-sound-image": "Use alt. Sound & Pop Up" } }, "position": { diff --git a/scripts/module.js b/scripts/module.js index 4d07031..50994dc 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -7,7 +7,7 @@ Hooks.once('ready', function () { let vidFile = 'modules/pf2e-rules-lawyer/resources/+1matters.webm'; let sfxFile = 'modules/pf2e-rules-lawyer/resources/rules-lawyer-sfx.ogg'; if (harmHelp === "HARMFUL") { - const harmful_option = game.settings.get("pf2e-rules-lawyer", "harmful-option"); + const harmful_option = game.settings.get("pf2e-rules-lawyer", "harmful-options"); switch (harmful_option) { case 'none': return;