Highlighting history showed one appearance multiple times
This commit is contained in:
parent
97aa9a14a5
commit
e4d73dbde1
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ string format_guess_history(vector<int> sequence, vector<int> guess) {
|
|||
if(sequence[j] == guess[i]) {
|
||||
r[i] = YELLOW + to_string(guess[i]) + BACK;
|
||||
guess[i] = -1;
|
||||
sequence[i] = -1;
|
||||
sequence[j] = -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue