Skip to content

Commit

Permalink
fix: can't reroll when invoking a trait
Browse files Browse the repository at this point in the history
  • Loading branch information
spyrella committed Oct 20, 2024
1 parent e4ec598 commit 439ab9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/checks/check-configuration.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SETTINGS } from '../settings.js';
import { SYSTEM } from '../helpers/config.mjs';
import { Flags } from '../helpers/flags.mjs';
import { CheckHooks } from './check-hooks.mjs';
Expand Down Expand Up @@ -237,7 +238,10 @@ class CheckInspector {
* @param {CheckResultV2} check
*/
const registerMetaCurrencyExpenditure = (check) => {
if (!game.settings.get(SYSTEM, Flags.ChatMessage.UseMetaCurrency)) {
// if (!game.settings.get(SYSTEM, Flags.ChatMessage.UseMetaCurrency)) {
// return;
// }
if (!game.settings.get(SYSTEM, SETTINGS.metaCurrencyAutomation)) {
return;
}
const randomId = foundry.utils.randomID();
Expand Down

0 comments on commit 439ab9a

Please sign in to comment.