Re-synchro d'affichage lors du tirage des nombres astro

This commit is contained in:
2021-06-01 21:58:40 +02:00
parent 560d674a15
commit 4b26fd575a
4 changed files with 19 additions and 3 deletions

View File

@ -159,6 +159,11 @@ export class RdDCalendrier extends Application {
resetNombreAstral() {
this.listeNombreAstral = [];
game.settings.set("foundryvtt-reve-de-dragon", "liste-nombre-astral", this.listeNombreAstral);
game.socket.emit("system.foundryvtt-reve-de-dragon", {
msg: "msg_reset_nombre_astral",
data: {}
});
}
/* -------------------------------------------- */