From a0037aa1bfa52590897af796538fbd48d4090809 Mon Sep 17 00:00:00 2001 From: Byroks Date: Sun, 25 Feb 2024 10:04:12 +0100 Subject: [PATCH] Hotfix - reapply missing css class --- source/index.ts | 1 - templates/chat/roll-m5.hbs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/index.ts b/source/index.ts index e11f94a..deb2690 100644 --- a/source/index.ts +++ b/source/index.ts @@ -227,7 +227,6 @@ Hooks.once("ready", () => { }); async function applyDamage(roll, direction) { - console.log(roll, direction); const damageValue = Array.from(roll.find(".apply") as HTMLElement[]) .map((x) => Math.max(0, Number(x.innerText))) .reduce((prev, curr) => prev + curr, 0); diff --git a/templates/chat/roll-m5.hbs b/templates/chat/roll-m5.hbs index 0a10a2c..2c86da1 100644 --- a/templates/chat/roll-m5.hbs +++ b/templates/chat/roll-m5.hbs @@ -82,7 +82,7 @@ {{roll.label}} - {{roll.totalStr}} + {{roll.totalStr}} {{roll.result}}