diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 160a9056..09d4cd3a 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -669,8 +669,13 @@ void CGameContext::OnTick() // send vote options ProgressVoteOptions(i); - m_apPlayers[i]->Tick(); - m_apPlayers[i]->PostTick(); + // ProgressVoteOptions calls SendMsg which can cause a player to be + // kicked on network problems, have to recheck + if(m_apPlayers[i]) + { + m_apPlayers[i]->Tick(); + m_apPlayers[i]->PostTick(); + } } }