Update CCompanion.cpp

This commit is contained in:
IcePixelx 2021-08-14 23:02:59 +02:00
parent 4b905325e6
commit ef69bbb947

View File

@ -101,7 +101,6 @@ void CCompanion::RefreshServerList()
void CCompanion::SendHostingPostRequest()
{
HostToken = "";
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 */});