mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Don't broadcast error if CanJoinTeam
returned true
This commit is contained in:
parent
b458890f08
commit
a440e0e917
|
@ -2397,7 +2397,7 @@ void CGameContext::OnSetTeamNetMessage(const CNetMsg_Cl_SetTeam *pMsg, int Clien
|
|||
m_pController->DoTeamChange(pPlayer, pMsg->m_Team);
|
||||
pPlayer->m_TeamChangeTick = Server()->Tick();
|
||||
}
|
||||
if(aTeamJoinError[0])
|
||||
else if(aTeamJoinError[0])
|
||||
SendBroadcast(aTeamJoinError, ClientID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue