From b08b330e65b39d4f155d0c5095685f87925252cb Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 25 May 2021 23:49:11 +0200 Subject: [PATCH] Fix conteneurs + encombrement --- module/rdd-utility.js | 3 +-- system.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 3817ec8d..460642e3 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -339,8 +339,7 @@ export class RdDUtility { // Attribution des objets aux conteneurs for (let conteneur of conteneurs) { conteneur.subItems = []; - if (!conteneur.data.encTotal) - conteneur.data.encTotal = 0; + conteneur.data.encTotal = conteneur.data.encombrement; //conteneur.data.encTotal = ; Deja calculé if (conteneur.data.contenu) { for (let id of conteneur.data.contenu) { diff --git a/system.json b/system.json index c1e29cf0..77fa1f64 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.4.7", + "version": "1.4.88888888", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.8.0", "compatibleCoreVersion": "0.8.5",