Engine: print COM_ExplainDisconnection() text as CLIENT

Only used on the client, print it as client.
This commit is contained in:
Kawe Mazidjatari 2024-02-21 01:18:43 +01:00
parent 715cb53157
commit 1ae9028535

View File

@ -76,14 +76,14 @@ void COM_ExplainDisconnection(bool bPrint, const char* fmt, ...)
char conStr[256];
(*g_ppVGuiLocalize)->ConvertUnicodeToANSI(formatStr, conStr, sizeof(conStr));
Error(eDLL_T::ENGINE, NO_ERROR, "%s\n", conStr);
Error(eDLL_T::CLIENT, NO_ERROR, "%s\n", conStr);
}
else
Error(eDLL_T::ENGINE, NO_ERROR, "%s\n", szBuf);
Error(eDLL_T::CLIENT, NO_ERROR, "%s\n", szBuf);
}
else
{
Error(eDLL_T::ENGINE, NO_ERROR, "%s\n", szBuf);
Error(eDLL_T::CLIENT, NO_ERROR, "%s\n", szBuf);
}
}