You shall not clear the string.

This commit is contained in:
IcePixelx 2021-08-14 23:53:18 +02:00
parent 6b79be3a45
commit 755fa46ea4

View File

@ -102,7 +102,6 @@ void CCompanion::RefreshServerList()
void CCompanion::SendHostingPostRequest()
{
HostToken = std::string();
HostRequestMessage = std::string();
bool result = r5net->PostServerHost(HostRequestMessage, HostToken, ServerListing{ MyServer.name, std::string(GameGlobals::HostState->m_levelName), "", GameGlobals::Cvar->FindVar("hostport")->m_pzsCurrentValue, MyServer.password, std::to_string(*reinterpret_cast<std::int32_t*>(0x1656057E0)) /* checksum */});
if (result)
{