From c567380f7284a91b1cbcc8384bf834455eeccd77 Mon Sep 17 00:00:00 2001 From: ChasarooniZ Date: Sat, 23 Nov 2024 18:33:26 -0600 Subject: [PATCH] Flip flop issues --- CHANGELOG.md | 4 ++++ scripts/hooks.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5880ac..697f610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# [12.6.10](https://github.com/ChasarooniZ/pf2e-rpg-numbers/compare/12.6.9...12.6.10) - Flip Flop + +- Fixed issue where From Software Noun-Verbed Enabled setting was flipped 🐬 + # [12.6.9](https://github.com/ChasarooniZ/pf2e-rpg-numbers/compare/12.6.8...12.6.9) - Disableable - Fixed issue where From Software Noun-Verbed would always play (@serbandr) diff --git a/scripts/hooks.js b/scripts/hooks.js index fb80d2c..962a8a6 100644 --- a/scripts/hooks.js +++ b/scripts/hooks.js @@ -10,7 +10,7 @@ import { getSetting, localize, MODULE_ID } from "./helpers/misc.js"; export async function preDeleteCombat(encounter, _changed, _userid) { // Only proceed if the user is a GM if (!game.user.isGM) return; - if (getSetting('from-software.noun-verbed.enabled')) return; + if (!getSetting('from-software.noun-verbed.enabled')) return; const xpNeeded = getSetting('from-software.noun-verbed.xp-threshold');