aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parsingtoolbox.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-10-15 00:22:20 +0200
committerRenaud G <renaud@rolisteam.org>2020-10-15 00:22:20 +0200
commit9ee7529627d36949b2435c00f4d5d3ecb96aff0c (patch)
treef1791c9bf60c9d9c5eb27bb1caa6706a32cdbb65 /parsingtoolbox.cpp
parentf357e9c3c52105fc6e78e8c0ce2293290ed49e91 (diff)
downloadOneRoll-9ee7529627d36949b2435c00f4d5d3ecb96aff0c.tar.gz
OneRoll-9ee7529627d36949b2435c00f4d5d3ecb96aff0c.zip
Revert "Fix output error"
This reverts commit fa2c9fe8754869c7df507fe1fa6143a1ef4bf84c.
Diffstat (limited to 'parsingtoolbox.cpp')
-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);