diff --git a/module/time/rdd-calendrier.js b/module/time/rdd-calendrier.js index d7839d3f..4b0f1007 100644 --- a/module/time/rdd-calendrier.js +++ b/module/time/rdd-calendrier.js @@ -57,7 +57,7 @@ export class RdDCalendrier extends HandlebarsApplicationMixin(foundry.applicatio this.horlogeAnalogique = true; const savedPos = game.settings.get(SYSTEM_RDD, "calendrier-pos"); if (savedPos?.top != undefined) { - Object.assign(this.position, { top: savedPos.top, left: savedPos.left, width: 400, height: 400 }); + this.position = { top: savedPos.top, left: savedPos.left, width: 400, height: 400 } this.horlogeAnalogique = savedPos.horlogeAnalogique; } this.timestamp = RdDTimestamp.getWorldTime(); @@ -239,7 +239,7 @@ export class RdDCalendrier extends HandlebarsApplicationMixin(foundry.applicatio /* -------------------------------------------- */ async ajouterNombreAstral(indexDate) { - const nombreAstral = await RdDDice.rollHeure( { showDice: HIDE_DICE, rollMode: "self" }); + const nombreAstral = await RdDDice.rollHeure({ showDice: HIDE_DICE, rollMode: "self" }); return { nombreAstral: nombreAstral, lectures: [],