diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index bfd3cc96..9a12ebd2 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -298,13 +298,12 @@ export class RdDTMRDialog extends Dialog { /* -------------------------------------------- */ async updateValuesDisplay() { - if (!this.rendered) { + if (this.viewOnly || !this.rendered) { return; } const coord = this._getCoordActor(); - HtmlUtility.showControlWhen(this.html.find(".lire-signe-draconique"), this.actor.isResonanceSigneDraconique(coord)); - + let ptsreve = document.getElementById("tmr-pointsreve-value"); ptsreve.innerHTML = this.actor.system.reve.reve.value; diff --git a/templates/dialog-tmr.html b/templates/dialog-tmr.html index 3b89000d..b1a5dc44 100644 --- a/templates/dialog-tmr.html +++ b/templates/dialog-tmr.html @@ -21,49 +21,48 @@ {{else}} {{#if (and isGM hasPlayerOwner)}} -