mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix: Even show correct team if there was a locked team before
This commit is contained in:
parent
eca83be1ee
commit
0be802c005
|
@ -300,7 +300,7 @@ void CPlayer::OnDisconnect(const char *pReason)
|
|||
}
|
||||
|
||||
CGameControllerDDRace* Controller = (CGameControllerDDRace*)GameServer()->m_pController;
|
||||
Controller->m_Teams.m_Core.Team(m_ClientID, 0);
|
||||
Controller->m_Teams.SetForceCharacterTeam(m_ClientID, 0);
|
||||
}
|
||||
|
||||
void CPlayer::OnPredictedInput(CNetObj_PlayerInput *NewInput)
|
||||
|
|
Loading…
Reference in a new issue