diff options
Diffstat (limited to 'node/keepdiceexecnode.cpp')
| -rw-r--r-- | node/keepdiceexecnode.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp index c1fe44b..bad2370 100644 --- a/node/keepdiceexecnode.cpp +++ b/node/keepdiceexecnode.cpp @@ -93,11 +93,10 @@ QString KeepDiceExecNode::toString(bool wl) const qint64 KeepDiceExecNode::getPriority() const { qint64 priority= 0; - if(nullptr != m_nextNode) + if(nullptr != m_previousNode) { - priority= m_nextNode->getPriority(); + priority= m_previousNode->getPriority(); } - return priority; } |