Fix print bug
This commit is contained in:
parent
2d4a32d89d
commit
f774359eb5
@ -20,7 +20,11 @@ namespace Components
|
|||||||
vsprintf_s(buffer, message, ap);
|
vsprintf_s(buffer, message, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
if (Logger::IsConsoleReady())
|
if (Flags::HasFlag("stdout"))
|
||||||
|
{
|
||||||
|
printf("%s", buffer);
|
||||||
|
}
|
||||||
|
else if (Logger::IsConsoleReady())
|
||||||
{
|
{
|
||||||
if (!Game::Sys_IsMainThread())
|
if (!Game::Sys_IsMainThread())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user