v11.2.2 - Les tendres moments d'Akarlikarlikar #685

Merged
uberwald merged 15 commits from VincentVk/foundryvtt-reve-de-dragon:v11 into v11 2023-11-24 08:51:06 +01:00
Showing only changes of commit bf2b387fc4 - Show all commits

View File

@ -73,9 +73,10 @@ import { RdDTMRDialog } from "./rdd-tmr-dialog.js";
export class SystemReveDeDragon { export class SystemReveDeDragon {
static start() { static start() {
const system = new SystemReveDeDragon(); const system = new SystemReveDeDragon()
Hooks.once('init', async () => await system.onInit()); Hooks.once('init', async () => await system.onInit())
Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d)); Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d))
Hooks.once('ready', () => system.onReady())
} }
constructor() { constructor() {
@ -208,7 +209,6 @@ export class SystemReveDeDragon {
TMRRencontres.init(); TMRRencontres.init();
Environnement.init(); Environnement.init();
Hooks.once('ready', () => this.onReady());
} }
initSystemSettings() { initSystemSettings() {