From 262cb9afb8338a76e126dea672a3fda53d8d1dad Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 22 Jan 2022 00:56:32 +0100 Subject: Fix regression --- node/keepdiceexecnode.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'node/keepdiceexecnode.cpp') diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp index 8748a3b..3e4490d 100644 --- a/node/keepdiceexecnode.cpp +++ b/node/keepdiceexecnode.cpp @@ -93,19 +93,19 @@ void KeepDiceExecNode::run(ExecutionNode* previous) void KeepDiceExecNode::setDiceKeepNumber(ExecutionNode* n) { - m_numberOfDiceNode = n; + m_numberOfDiceNode= n; } QString KeepDiceExecNode::toString(bool wl) const { - if(wl) - { - auto param = m_numberOfDiceNode->toString(wl); - return QString("%1 [label=\"KeepDiceExecNode %2\"]").arg(m_id, param); - } - else - { - return m_id; - } + if(wl) + { + // auto param= m_numberOfDiceNode->toString(wl); + return QString("%1 [label=\"KeepDiceExecNode\"]").arg(m_id); + } + else + { + return m_id; + } } qint64 KeepDiceExecNode::getPriority() const { -- cgit v1.2.3-70-g09d2