From 21671ee13afa90e282e673143fe9903ceccd1e69 Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Mon, 16 Oct 2023 19:04:53 -0400 Subject: [PATCH] fix: fixes issue where rendered dice didn't match result (close #252) --- src/roller/dice.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/roller/dice.ts b/src/roller/dice.ts index 698cbed..e14dbcf 100644 --- a/src/roller/dice.ts +++ b/src/roller/dice.ts @@ -1417,7 +1417,6 @@ export class StackRoller extends GenericRoller { } Stunt Points`; } } - if (a instanceof StuntRoller) { if (a.doubles) { this.stunted = ` - ${ @@ -1449,7 +1448,7 @@ export class StackRoller extends GenericRoller { } } const final = this.stack.pop(); - final.rollSync(); + if (final instanceof StuntRoller) { if (final.doubles) { this.stunted = ` - ${final.results.get(0).value} Stunt Points`;