mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Dont reset variables twice
This commit is contained in:
parent
b0f1164485
commit
3434fca91c
|
@ -21,9 +21,7 @@ CPlayer::CPlayer(CGameContext *pGameServer, int ClientID, int Team)
|
|||
m_pGameServer = pGameServer;
|
||||
m_ClientID = ClientID;
|
||||
m_Team = GameServer()->m_pController->ClampTeam(Team);
|
||||
m_pCharacter = 0;
|
||||
m_NumInputs = 0;
|
||||
m_KillMe = 0;
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue