mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
NetConsole: log header/version as soon as possible
Logged right after console and terminal is initialized.
This commit is contained in:
parent
9a3ea6b53a
commit
e7d3e8d23d
@ -51,6 +51,8 @@ bool CNetCon::Init(const bool bAnsiColor, const char* pAdr, const char* pKey)
|
||||
g_CoreMsgVCallback = &EngineLoggerSink;
|
||||
TermSetup(bAnsiColor);
|
||||
|
||||
Msg(eDLL_T::NONE, "R5 TCP net console [Version %s]\n", NETCON_VERSION);
|
||||
|
||||
WSAData wsaData;
|
||||
const int nError = ::WSAStartup(MAKEWORD(2, 2), &wsaData);
|
||||
|
||||
@ -80,7 +82,6 @@ bool CNetCon::Init(const bool bAnsiColor, const char* pAdr, const char* pKey)
|
||||
}
|
||||
|
||||
m_bInitialized = true;
|
||||
Msg(eDLL_T::NONE, "R5 TCP net console [Version %s]\n", NETCON_VERSION);
|
||||
|
||||
static std::thread frame([this]()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user