Differentiate win conditions

This commit is contained in:
Martijn Braam 2020-10-29 21:26:59 +01:00
parent 7012edb640
commit de6c8f0495
No known key found for this signature in database
GPG Key ID: C4280ACB000B060F
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -373,7 +373,7 @@ check_win_condition(void)
if (players[i].is_impostor == 1
&& !alive(players[i])) {
broadcast("The crew won", -1);
broadcast("The crew won, the impostor died", -1);
end_game();
return 1;
}
@ -399,7 +399,7 @@ check_win_condition(void)
}
if (tasks == 1) {
broadcast("The crew won", -1);
broadcast("The crew won, all tasks completed", -1);
end_game();
return 1;
}