v10 #576

Merged
uberwald merged 2 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-11-18 11:24:13 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit eb0afffbd6 - Show all commits

View File

@ -3202,8 +3202,7 @@ export class RdDActor extends Actor {
isRapide: isRapide
}
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrFormData);
this.currentTMR = await RdDTMRDialog.create(html, this, tmrFormData);
this.currentTMR = await RdDTMRDialog.create(this, tmrFormData);
this.currentTMR.render(true);
}

View File

@ -23,7 +23,8 @@ import { RdDCalendrier } from "./rdd-calendrier.js";
export class RdDTMRDialog extends Dialog {
static async create(html, actor, tmrData) {
static async create(actor, tmrData) {
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrData);
if (tmrData.mode != 'visu') {
// Notification au MJ