mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Fix/877 hope update order (#896)
* Action Macro working again * k * Fix Hope gain on Duality Roll
This commit is contained in:
parent
6d789aceb3
commit
86a09df944
3 changed files with 25 additions and 16 deletions
|
|
@ -72,7 +72,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
|
|||
|
||||
if(!game.user.isGM) {
|
||||
const applyButtons = html.querySelector(".apply-buttons");
|
||||
applyButtons.remove();
|
||||
applyButtons?.remove();
|
||||
if(!this.isAuthor && !this.speakerActor?.isOwner) {
|
||||
const buttons = html.querySelectorAll(".ability-card-footer > .ability-use-button");
|
||||
buttons.forEach(b => b.remove());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue