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