Returning false commits you to setting a message

This commit is contained in:
heinrich5991 2023-12-15 13:00:43 +01:00
parent 8be0ba3a84
commit 1feee077ca

View file

@ -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);
}