Fix conteneurs + encombrement

This commit is contained in:
sladecraven 2021-05-25 23:49:11 +02:00
parent cf75fb82d0
commit b08b330e65
2 changed files with 2 additions and 3 deletions

View File

@ -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) {

View File

@ -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",