Fix print bug

This commit is contained in:
momo5502 2016-03-10 21:51:32 +01:00
parent 2d4a32d89d
commit f774359eb5

View File

@ -20,7 +20,11 @@ namespace Components
vsprintf_s(buffer, message, ap);
va_end(ap);
if (Logger::IsConsoleReady())
if (Flags::HasFlag("stdout"))
{
printf("%s", buffer);
}
else if (Logger::IsConsoleReady())
{
if (!Game::Sys_IsMainThread())
{