Require ghost task completion

This commit is contained in:
Eyal Sawady 2020-10-19 14:21:06 -04:00
parent ba10f73428
commit 3d49bbdc32
No known key found for this signature in database
GPG Key ID: 604D3459E53A9952
1 changed files with 1 additions and 2 deletions

3
main.c
View File

@ -357,8 +357,7 @@ check_win_condition(void)
&& players[i].is_imposter == 0)
nalive++;
if (players[i].fd != -1 && !players[i].is_imposter
&& alive(players[i])) {
if (players[i].fd != -1 && !players[i].is_imposter) {
for (size_t j = 0; j < NUM_SHORT; j++) {
if (!players[i].short_tasks_done[j]) {
tasks = 0;