Fix: Hooks.once('ready') not called
Sur Firefor, le onReady n'est jamais appelé, le système n'est alors pas totalement initialisé, toute la partie calendrier n'est pas prête, et donc les ajustement d'astrologie.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user