Fix mod loop

This commit is contained in:
momo5502 2016-11-06 23:03:34 +01:00
parent f46f5590ff
commit 19012a6e69
2 changed files with 2 additions and 2 deletions

2
deps/fmt vendored

@ -1 +1 @@
Subproject commit d8867a2b07b8be2adf5d503ecc9d9e65dcc59ec2
Subproject commit 05ba3e788846957ddb88277ed73b54073e595907

View File

@ -380,7 +380,7 @@ namespace Components
{
Party::ConnectError("Invalid join response: Unknown matchtype");
}
else if(!info.Get("fs_game").empty() && Dvar::Var("fs_game").Get<std::string>() != info.Get("fs_game"))
else if(!info.Get("fs_game").empty() && Utils::String::ToLower(Dvar::Var("fs_game").Get<std::string>()) != Utils::String::ToLower(info.Get("fs_game")))
{
Command::Execute("closemenu popup_reconnectingtoparty");
Download::InitiateClientDownload(info.Get("fs_game"));