diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 6417eb88..4f53555e 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -204,6 +204,10 @@ export class RdDActorSheet extends ActorSheet { // Everything below here is only needed if the sheet is editable if (!this.options.editable) return; + $(function () { + $("#data.heure").val(this.actor.data.data.heure); + }); + // Update Inventory Item html.find('.item-edit').click(ev => { const li = $(ev.currentTarget).parents(".item"); diff --git a/template.json b/template.json index 35a0573e..5ff788c2 100644 --- a/template.json +++ b/template.json @@ -13,7 +13,7 @@ "yeux": "", "cheveux": "", "poids": "", - "heure": 0, + "heure": "", "sexe": "", "age": 0, "beaute": 10, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index f2c722f9..749f069c 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -640,7 +640,11 @@