diff --git a/src/console.c b/src/console.c index bf2dd069f..282f833a4 100644 --- a/src/console.c +++ b/src/console.c @@ -1512,6 +1512,8 @@ void CONS_Printf(const char *fmt, ...) vsprintf(txt, fmt, argptr); va_end(argptr); + Lock_state(); + // echo console prints to log file DEBFILE(txt); @@ -1521,8 +1523,6 @@ void CONS_Printf(const char *fmt, ...) CON_LogMessage(txt); - Lock_state(); - // make sure new text is visible con_scrollup = 0;