diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 24a1efd9..798b4884 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -130,7 +130,8 @@ export class RdDActorSheet extends ActorSheet { data.data.ombres = this._checkNull(data.itemsByType['ombre']); data.data.tetes = this._checkNull(data.itemsByType['tete']); data.data.objets = data.data.conteneurs.concat(data.data.materiel).concat(data.data.armes).concat(data.data.armures).concat(data.data.munitions).concat(data.data.livres).concat(data.data.potions).concat(data.data.herbes).concat(data.data.ingredients); - + data.data.sortReserve = data.data.reve.reserve.list; + this.objetVersConteneur = {}; // Table de hash locale pour recupération rapide du conteneur parent (si existant) // Attribution des objets aux conteneurs for (let conteneur of data.data.conteneurs) { diff --git a/system.json b/system.json index d9efab92..af32eb9c 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": "0.9.56", + "version": "0.9.57", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.6", "templateVersion": 47, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index d11f3b94..17f1663b 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -452,6 +452,16 @@ {{/each}} +