diff --git a/module/actor.js b/module/actor.js index 6fbcb975..8bd31bbb 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1542,9 +1542,9 @@ export class RdDActor extends Actor { coutreve: Array(20).fill().map((item, index) => 1 + index) } + if ( this.currentTMR ) this.currentTMR.minimize(); // Hide const dialog = await RdDRoll.create(this, rollData, - { - html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', close: html => { this.currentTMR.maximize() } // Re-display TMR }, { @@ -1562,7 +1562,7 @@ export class RdDActor extends Actor { this.createCallbackExperience(), { action: r => this._rollUnSortResult(r, true) } ] - } + }, ); dialog.render(true); } diff --git a/system.json b/system.json index 5f965963..bf0683ab 100644 --- a/system.json +++ b/system.json @@ -291,7 +291,7 @@ "secondaryTokenAttribute": "sante.endurance", "socket": true, "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/", - "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/raw/v1.2/system.json", - "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/-/archive/v1.2/foundryvtt-reve-de-dragon-master.zip", + "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/raw/master/system.json", + "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/-/archive/master/foundryvtt-reve-de-dragon-master.zip", "license": "LICENSE.txt" }