mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: print COM_ExplainDisconnection() text as CLIENT
Only used on the client, print it as client.
This commit is contained in:
parent
715cb53157
commit
1ae9028535
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user