From 7e0a67fbc2df330b4dd44c46d7d7ec677c53ae4a Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 6 Apr 2021 08:03:44 +0200 Subject: [PATCH] Ajout fonts --- modules/vadentis-utility.js | 4 ++-- templates/actor-sheet.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/vadentis-utility.js b/modules/vadentis-utility.js index db87d43..2b1763e 100644 --- a/modules/vadentis-utility.js +++ b/modules/vadentis-utility.js @@ -29,9 +29,9 @@ export class VadentisUtility extends Entity { /* -------------------------------------------- */ static createDirectOptionList( min, max) { - let options = [] + let options = {}; for(let i=min; i<=max; i++) { - options.push( i ) ; + options[i] = i; } return options; } diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 6104437..1b89bfb 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -119,8 +119,8 @@
  • Désignation Valeur - Bonus Malus + Bonus
  • {{#each data.combat as |mycombat key|}}