From 0ab7190864e4735fa6670c54809c17f3be4863eb Mon Sep 17 00:00:00 2001 From: def Date: Wed, 29 Dec 2021 20:36:03 +0100 Subject: [PATCH] Don't warn on solo server, where no team ranks should exist --- src/game/server/gamemodes/DDRace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamemodes/DDRace.cpp b/src/game/server/gamemodes/DDRace.cpp index eff4a5247..86f35fcdd 100644 --- a/src/game/server/gamemodes/DDRace.cpp +++ b/src/game/server/gamemodes/DDRace.cpp @@ -83,7 +83,7 @@ void CGameControllerDDRace::HandleCharacterTiles(CCharacter *pChr, int MapIndex) pChr->Die(ClientID, WEAPON_WORLD); return; } - if(Team > TEAM_FLOCK && Team < TEAM_SUPER && m_Teams.Count(Team) < g_Config.m_SvMinTeamSize) + if(g_Config.m_SvTeam != 3 && Team > TEAM_FLOCK && Team < TEAM_SUPER && m_Teams.Count(Team) < g_Config.m_SvMinTeamSize) { char aBuf[128]; str_format(aBuf, sizeof(aBuf), "Your team has fewer than %d players, so your team rank won't count", g_Config.m_SvMinTeamSize);