mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
Fix rerolling when hope/fear automation is enabled
This commit is contained in:
parent
c0c9095847
commit
dfebc510d4
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { ResourceUpdateMap } from '../data/action/baseAction.mjs';
|
||||
|
||||
export function updateResourcesForDualityReroll(oldDuality, newDuality, actor) {
|
||||
const { hopeFear } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation);
|
||||
if (game.user.isGM ? !hopeFear.gm : !hopeFear.players) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue