fix: replaced has_conclusion with check for full
This commit is contained in:
parent
1d2a410867
commit
ac1dbd6222
3 changed files with 15 additions and 4 deletions
|
|
@ -37,9 +37,9 @@ void ClientNode::process() {
|
|||
reveal_backlog();
|
||||
}
|
||||
}
|
||||
bool const new_has_conclusion{ ydi::client::receive::has_conclusion() };
|
||||
if (new_has_conclusion != this->conclusion.is_full()) {
|
||||
this->conclusion = ydi::client::receive::conclusion();
|
||||
FixedVector<NetworkData::ClueID, 3> &conclusion{ ydi::client::receive::conclusion() };
|
||||
if (conclusion.is_full() != this->conclusion.is_full()) {
|
||||
this->conclusion = conclusion;
|
||||
emit_signal(sig_conclusion_received, this->conclusion[0], this->conclusion[1], this->conclusion[2]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue