From be42a5b9bdf703942a52c17b82c406bf1e786dc8 Mon Sep 17 00:00:00 2001 From: Travis Erdman Date: Sun, 11 Dec 2016 23:56:24 -0800 Subject: [PATCH] Added missing newline after printing stats in Quiet mode. Lack of newline was annoying bc it messed up the next command line prompt. --- environment/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment/main.cpp b/environment/main.cpp index 128329f2d..230fe949b 100644 --- a/environment/main.cpp +++ b/environment/main.cpp @@ -142,7 +142,7 @@ int main(int argc, char ** argv) { std::string victoryOut; if(quiet_output) { - std::cout << stats; + std::cout << stats << std::endl; } else { for(unsigned int a = 0; a < stats.player_statistics.size(); a++) std::cout << "Player #" << stats.player_statistics[a].tag << ", " << my_game->getName(stats.player_statistics[a].tag) << ", came in rank #" << stats.player_statistics[a].rank << " and was last alive on frame #" << stats.player_statistics[a].last_frame_alive << "!\n";