From ad0aef6c94b3c59078b140f67732288655b6c069 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Mon, 7 Jul 2025 11:48:26 -0400 Subject: [PATCH] add missing previousGroupData --- src/artigen/dice/groupHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artigen/dice/groupHandler.ts b/src/artigen/dice/groupHandler.ts index 79d9091..f88e229 100644 --- a/src/artigen/dice/groupHandler.ts +++ b/src/artigen/dice/groupHandler.ts @@ -216,7 +216,7 @@ export const handleGroup = ( } else { // why did you put this in a group, that was entirely pointless loggingEnabled && log(LT.LOG, `Solving commaPart: ${commaParts[0]}`); - const [tempData, tempCounts, tempDists] = tokenizeMath(commaParts[0], modifiers, previousResults, []); + const [tempData, tempCounts, tempDists] = tokenizeMath(commaParts[0], modifiers, previousResults, prevGrpReturnData); const data = tempData[0]; loggingEnabled && log(LT.LOG, `Solved Math for Group is back ${JSON.stringify(data)} | ${JSON.stringify(tempCounts)} ${JSON.stringify(tempDists)}`);