mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #7656 from heinrich5991/pr_ddnet_canjointeam_error
Returning `false` commits you to setting a message
This commit is contained in:
commit
4fe5fcca09
|
@ -2463,7 +2463,7 @@ void CGameContext::OnSetTeamNetMessage(const CNetMsg_Cl_SetTeam *pMsg, int Clien
|
|||
m_pController->DoTeamChange(pPlayer, pMsg->m_Team);
|
||||
pPlayer->m_TeamChangeTick = Server()->Tick();
|
||||
}
|
||||
else if(aTeamJoinError[0])
|
||||
else
|
||||
SendBroadcast(aTeamJoinError, ClientID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue