Fix fear being set by players

This commit is contained in:
Dapoolp 2025-08-26 14:01:42 +02:00
parent fb9240e130
commit 631d5a3068
2 changed files with 3 additions and 15 deletions

View file

@ -86,11 +86,12 @@ export default class DHRoll extends Roll {
type: this.messageType,
user: game.user.id,
title: roll.title,
speaker: cls.getSpeaker(),
speaker: cls.getSpeaker({ actor: roll.data?.parent }),
sound: config.mute ? null : CONFIG.sounds.dice,
system: config,
rolls: [roll]
};
config.selectedRollMode ??= game.settings.get('core', 'rollMode');
if (roll._evaluated) {