Merge pull request #6728 from Robyt3/Player-Undefined-Time-Variables

Fix undefined player vote/team change time
This commit is contained in:
Dennis Felsing 2023-06-10 11:30:56 +02:00 committed by GitHub
commit 80c32061a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,8 @@ void CPlayer::Reset()
GameServer()->Score()->PlayerData(m_ClientID)->Reset();
m_Last_KickVote = 0;
m_Last_Team = 0;
m_ShowOthers = g_Config.m_SvShowOthersDefault;
m_ShowAll = g_Config.m_SvShowAllDefault;
m_ShowDistance = vec2(1200, 800);