From a8756f99e0b8ab129e754d5860c4f3cf24d7ef36 Mon Sep 17 00:00:00 2001 From: fokkonaut <35420825+fokkonaut@users.noreply.github.com> Date: Sun, 21 Jul 2019 10:03:27 +0200 Subject: [PATCH] Fix infectionZ gamemode seen as DDNet --- src/engine/shared/serverbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/serverbrowser.cpp b/src/engine/shared/serverbrowser.cpp index 077e14365..94cb754cc 100644 --- a/src/engine/shared/serverbrowser.cpp +++ b/src/engine/shared/serverbrowser.cpp @@ -49,7 +49,7 @@ bool IsDDRace(const CServerInfo *pInfo) bool IsBlockInfectionZ(const CServerInfo *pInfo) { return str_find_nocase(pInfo->m_aGameType, "blockZ") - || str_find_nocase(pInfo->m_aGameType, "infectionZ"); + || str_find_nocase(pInfo->m_aGameType, "infection"); } bool IsBlockWorlds(const CServerInfo *pInfo)