mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Proper team count, should fix savegames
This commit is contained in:
parent
9f7e3dcad6
commit
1c954c168f
|
@ -182,7 +182,7 @@ void CGameTeams::SetForceCharacterTeam(int ClientID, int Team)
|
|||
|
||||
m_Core.Team(ClientID, Team);
|
||||
|
||||
if (m_Core.Team(ClientID) != TEAM_SUPER)
|
||||
if (m_Core.Team(ClientID) != TEAM_SUPER && m_Core.Team(ClientID) != Team)
|
||||
m_MembersCount[m_Core.Team(ClientID)]++;
|
||||
if (Team != TEAM_SUPER && (m_TeamState[Team] == TEAMSTATE_EMPTY || m_TeamLocked[Team]))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue