From 52c729c3fa184eb363ce1671333ce14ad0d98b48 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Fri, 5 Feb 2021 03:47:54 +0100 Subject: [PATCH] SImplify Dice configuration --- src/module/ds4.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/module/ds4.ts b/src/module/ds4.ts index 657a460..be4543c 100644 --- a/src/module/ds4.ts +++ b/src/module/ds4.ts @@ -33,11 +33,8 @@ Hooks.once("init", async function () { CONFIG.Item.typeLabels = DS4.i18n.itemTypes; // Configure Dice - CONFIG.Dice.types = [Die, DS4Check]; // TODO(types) fix upstream - CONFIG.Dice.terms = { - ...CONFIG.Dice.terms, - s: DS4Check, - }; + CONFIG.Dice.types.push(DS4Check); // TODO(types) fix upstream + CONFIG.Dice.terms.s = DS4Check; // Register system settings registerSystemSettings();