mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Merge #2960
2960: fix for a SixUp vote creator id which wasn't set r=def- a=pure-luck-999 cc @Learath2 Co-authored-by: Pure luck <pure_luck@fastmail.com>
This commit is contained in:
commit
22294ec9b0
|
@ -330,10 +330,10 @@ void CGameContext::CallVote(int ClientID, const char *pDesc, const char *pCmd, c
|
|||
if(!pSixupDesc)
|
||||
pSixupDesc = pDesc;
|
||||
|
||||
m_VoteCreator = ClientID;
|
||||
StartVote(pDesc, pCmd, pReason, pSixupDesc);
|
||||
pPlayer->m_Vote = 1;
|
||||
pPlayer->m_VotePos = m_VotePos = 1;
|
||||
m_VoteCreator = ClientID;
|
||||
pPlayer->m_LastVoteCall = Now;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue