| 769 | } |
| 770 | |
| 771 | void PlayerManager::OnSourceModLevelEnd() |
| 772 | { |
| 773 | /* Disconnect all bots still in game */ |
| 774 | for (int i=1; i<=m_maxClients; i++) |
| 775 | { |
| 776 | if (m_Players[i].IsConnected()) |
| 777 | { |
| 778 | OnClientDisconnect(m_Players[i].GetEdict()); |
| 779 | OnClientDisconnect_Post(m_Players[i].GetEdict()); |
| 780 | } |
| 781 | } |
| 782 | m_PlayerCount = 0; |
| 783 | } |
| 784 | |
| 785 | void PlayerManager::OnServerHibernationUpdate(bool bHibernating) |
| 786 | { |
nothing calls this directly
no test coverage detected