mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fixed team state sending, it was illogical
This commit is contained in:
parent
babe838cab
commit
b909829b61
|
@ -168,8 +168,10 @@ void CGameTeams::SetForceCharacterTeam(int id, int Team) {
|
|||
}
|
||||
dbg_msg1("Teams", "Id = %d Team = %d", id, Team);
|
||||
|
||||
if(Character(id) && Character(id)->GetPlayer()->m_IsUsingDDRaceClient) {
|
||||
SendTeamsState(id);
|
||||
for (int ClientID = 0; ClientID < MAX_CLIENTS; ++ClientID)
|
||||
{
|
||||
if(Character(ClientID) && Character(ClientID)->GetPlayer()->m_IsUsingDDRaceClient)
|
||||
SendTeamsState(ClientID);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue