aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--parsingtoolbox.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp
index 1d873c2..dd29d8f 100644
--- a/parsingtoolbox.cpp
+++ b/parsingtoolbox.cpp
@@ -2363,14 +2363,8 @@ ExportedDiceResult ParsingToolBox::finalDiceResultFromInstruction(ExecutionNode*
for(auto& die : diceResult->getResultList())
{
faces= die->getFaces();
- QList<qint64> listValues;
- auto listOfValues= die->getListValue();
- if(listOfValues.size() > 1)
- listValues << die->getValue() << listOfValues;
- else
- listValues << listOfValues;
- HighLightDice hlDice(listValues, die->isHighlighted(), die->getColor(), die->hasBeenDisplayed(),
- die->getFaces(), die->getUuid());
+ HighLightDice hlDice(die->getListValue(), die->isHighlighted(), die->getColor(),
+ die->hasBeenDisplayed(), die->getFaces(), die->getUuid());
if(alreadyAdded.find(die->getUuid()) == alreadyAdded.end() && !hlDice.displayed())
{
list.append(hlDice);