aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 5d5d9a3..f8fb477 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -306,7 +306,7 @@ bool DiceParser::readOperator(QString& str,ExecutionNode* previous)
if(readExpression(str,nodeExec))
{
node->setInternalNode(nodeExec);
- if(node->getPriority()>nodeExec->getPriority())
+ if(node->getPriority()>=nodeExec->getPriority())
{
node->setNextNode(nodeExec->getNextNode());
nodeExec->setNextNode(NULL);