mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
lol i missed this
This commit is contained in:
parent
3d0aab503f
commit
355dd98bfa
|
@ -181,7 +181,7 @@ void CGameTeams::OnCharacterDeath(int ClientID)
|
|||
if((!g_Config.m_SvStickyTeams && OldTeam != TEAM_FLOCK) || OldTeam == TEAM_SUPER)
|
||||
SetForceCharacterTeam(ClientID, TEAM_FLOCK);
|
||||
// Else check if the team state needs changing
|
||||
else
|
||||
else if(OldTeam != TEAM_FLOCK && OldTeam != TEAM_SUPER)
|
||||
{
|
||||
if(Count(OldTeam) > 1)
|
||||
{
|
||||
|
@ -197,7 +197,7 @@ void CGameTeams::OnCharacterDeath(int ClientID)
|
|||
{
|
||||
m_TeamState[OldTeam] = TEAMSTATE_OPEN;
|
||||
}
|
||||
else
|
||||
else if(Count(OldTeam) < 0)
|
||||
dbg_msg("Teams","Please report if you saw this!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue