From 19ff90284a6f2b0a642e1b38c463f16d44aba182 Mon Sep 17 00:00:00 2001 From: Arindy Date: Sat, 22 Feb 2025 14:37:39 +0100 Subject: [PATCH] removes d2 from quickroll and overlay --- src/main/resources/templates/index.html | 2 +- src/main/resources/templates/overlay.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index f599358..1e110d6 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -89,7 +89,7 @@ - + diff --git a/src/main/resources/templates/overlay.html b/src/main/resources/templates/overlay.html index 3efd6c7..b5f34bd 100644 --- a/src/main/resources/templates/overlay.html +++ b/src/main/resources/templates/overlay.html @@ -40,7 +40,7 @@ foreground: data.numberColor } }).then(() => { - diceBox.roll(data.roll.join('&')); + diceBox.roll(data.roll.filter(it => it.split('@')[0].split('d')[1] !== "2").join('&')); }) })