Fix bug when trying to print the host token

Should return ptr to string (caught from compiler warnings).
This commit is contained in:
Kawe Mazidjatari 2023-05-15 00:54:33 +02:00
parent 852d48256e
commit 0138ac025f

View File

@ -218,7 +218,7 @@ bool CPylon::KeepAlive(const NetGameServer_t& netGameServer)
m_Token = hostToken;
DevMsg(eDLL_T::SERVER, "Published server with token: %s'%s%s%s'\n",
g_svReset, g_svGreyB,
hostToken, g_svReset);
hostToken.c_str(), g_svReset);
}
}