summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console.cpp b/src/console.cpp
index 31f9d6e5f..cdb8f4bf7 100644
--- a/src/console.cpp
+++ b/src/console.cpp
@@ -388,7 +388,8 @@ void IConsolePrint(uint16 color_code, const char *string)
str_validate(str);
if (_network_dedicated) {
- printf("%s\n", str);
+ fprintf(stdout, "%s\n", str);
+ fflush(stdout);
IConsoleWriteToLogFile(str);
free(str); // free duplicated string since it's not used anymore
return;