Removed final TagTeamRoll roll sound

This commit is contained in:
WBHarry 2025-11-10 10:15:12 +01:00
parent 73544812f5
commit a50fb9f9ac
2 changed files with 3 additions and 5 deletions

View file

@ -224,13 +224,11 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
speaker: cls.getSpeaker({ actor: this.party.find(x => x.id === mainRollId) }),
system: systemData,
rolls: mainRoll.rolls,
sound: null
sound: null,
flags: { core: { RollTable: true } }
};
const prevHookStatus = game.dice3d.messageHookDisabled;
game.dice3d.messageHookDisabled = true;
await cls.create(msgData);
game.dice3d.messageHookDisabled = prevHookStatus;
const fearUpdate = { key: 'fear', value: null, total: null, enabled: true };
for (let memberId of Object.keys(this.data.members)) {

View file

@ -16,7 +16,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
const html = await super.renderHTML({ actor: actorData, author: this.author });
if (this.flags.core?.RollTable) {
html.querySelector('.roll-buttons.apply-buttons').remove();
html.querySelector('.roll-buttons.apply-buttons')?.remove();
}
this.enrichChatMessage(html);