From b75c83b5fea459722020cbff65666a2a81525f50 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Wed, 16 Jul 2025 01:06:01 +0200 Subject: [PATCH] . --- module/dice/dhRoll.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/dice/dhRoll.mjs b/module/dice/dhRoll.mjs index bde4e7ec..7530e4dd 100644 --- a/module/dice/dhRoll.mjs +++ b/module/dice/dhRoll.mjs @@ -191,7 +191,7 @@ export const registerRollDiceHooks = () => { if (config.roll.result.duality === -1) updates.push({ key: 'fear', value: 1 }); if (updates.length) { - const target = actor.system.partner ? actor.system.partner : actor; + const target = actor.system.partner ?? actor; target.modifyResource(updates); }