Skip to content
Snippets Groups Projects
Commit 5139f9e3 authored by ChouTatsumi's avatar ChouTatsumi
Browse files

bug 18:11

parent 7a4d00f1
No related branches found
No related tags found
No related merge requests found
......@@ -277,10 +277,14 @@ static bool handle_http_request(int sockfd) {
return show_page(sockfd, ENDGAME_PAGE);
} else
return show_page(sockfd, ACCEPTED_PAGE);
} else if (is_end_game)
} else if (is_end_game) {
is_end_game = false;
return show_page(sockfd, ENDGAME_PAGE);
else if (is_quit_game)
}
else if (is_quit_game) {
is_quit_game = false;
return show_page(sockfd, GAMEOVER_PAGE);
}
else{
return show_page(sockfd, DISCARDED_PAGE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment