Skip to content

Commit

Permalink
Flip flop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Nov 24, 2024
1 parent a850f06 commit c567380
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit c567380

Please sign in to comment.