Skip to content

Commit 439ab9a

Browse files
committed
fix: can't reroll when invoking a trait
1 parent e4ec598 commit 439ab9a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

module/checks/check-configuration.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { SETTINGS } from '../settings.js';
12
import { SYSTEM } from '../helpers/config.mjs';
23
import { Flags } from '../helpers/flags.mjs';
34
import { CheckHooks } from './check-hooks.mjs';
@@ -237,7 +238,10 @@ class CheckInspector {
237238
* @param {CheckResultV2} check
238239
*/
239240
const registerMetaCurrencyExpenditure = (check) => {
240-
if (!game.settings.get(SYSTEM, Flags.ChatMessage.UseMetaCurrency)) {
241+
// if (!game.settings.get(SYSTEM, Flags.ChatMessage.UseMetaCurrency)) {
242+
// return;
243+
// }
244+
if (!game.settings.get(SYSTEM, SETTINGS.metaCurrencyAutomation)) {
241245
return;
242246
}
243247
const randomId = foundry.utils.randomID();

0 commit comments

Comments
 (0)