diff options
| author | 2020-10-15 00:22:20 +0200 | |
|---|---|---|
| committer | 2020-10-15 00:22:20 +0200 | |
| commit | 9ee7529627d36949b2435c00f4d5d3ecb96aff0c (patch) | |
| tree | f1791c9bf60c9d9c5eb27bb1caa6706a32cdbb65 /parsingtoolbox.cpp | |
| parent | f357e9c3c52105fc6e78e8c0ce2293290ed49e91 (diff) | |
| download | OneRoll-9ee7529627d36949b2435c00f4d5d3ecb96aff0c.tar.gz OneRoll-9ee7529627d36949b2435c00f4d5d3ecb96aff0c.zip | |
Revert "Fix output error"
This reverts commit fa2c9fe8754869c7df507fe1fa6143a1ef4bf84c.
Diffstat (limited to 'parsingtoolbox.cpp')
| -rw-r--r-- | parsingtoolbox.cpp | 10 |
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); |