Fixed bug with custom maps.

This commit is contained in:
IcePixelx 2021-08-21 00:24:34 +02:00
parent 8496ccc417
commit 880adbf800

View File

@ -389,6 +389,7 @@ void CCompanion::HostServerSection()
if (ImGui::Selectable(item.c_str(), item == MyServer.map))
{
MyServer.map = item;
ServerMap = item;
for (auto it = mapArray.begin(); it != mapArray.end(); ++it)
{
if (it->second.compare(MyServer.map) == NULL)