From d7bf41f859d00a2975aac1927c6bdc493e2765c3 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 30 Dec 2020 18:14:42 +0100 Subject: [PATCH] Correction sur case aleatoire (ie doit retourner une valeur) --- module/tmr-utility.js | 1 + system.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/tmr-utility.js b/module/tmr-utility.js index 0246260c..18a167ef 100644 --- a/module/tmr-utility.js +++ b/module/tmr-utility.js @@ -541,6 +541,7 @@ export class TMRUtility { let caseIndex = letter+num; ChatMessage.create( { content: "Case aléatoire : " + letter+num + " - " + TMRMapping[caseIndex].label , whisper: ChatMessage.getWhisperRecipients("GM") } ); + return caseIndex; } /* -------------------------------------------- */ diff --git a/system.json b/system.json index a4e23bb2..fe65babb 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.1.24", + "version": "1.1.25", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.8", "templateVersion": 72,