mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix votespec on /pause (Fixes #1193)
This commit is contained in:
parent
7c3e4e7f09
commit
e9807fe47c
|
@ -472,8 +472,11 @@ void CGameContext::StartVote(const char *pDesc, const char *pCommand, const char
|
|||
|
||||
void CGameContext::EndVote()
|
||||
{
|
||||
if(m_apPlayers[m_VoteVictim])
|
||||
m_apPlayers[m_VoteVictim]->Pause(CPlayer::PAUSE_NONE, false);
|
||||
m_VoteCloseTime = 0;
|
||||
SendVoteSet(-1);
|
||||
m_VoteVictim = -1;
|
||||
}
|
||||
|
||||
void CGameContext::SendVoteSet(int ClientID)
|
||||
|
|
Loading…
Reference in a new issue