Client side vote kick changes - tab closes now. Server side fixes.
This commit is contained in:
@@ -1037,6 +1037,18 @@ ClientThread::StartPetition(unsigned petitionId, unsigned proposingPlayerId, uns
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ClientThread::EndPetition(unsigned petitionId)
|
||||
{
|
||||
bool isCurPetition;
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_curPetitionIdMutex);
|
||||
isCurPetition = m_curPetitionId == petitionId;
|
||||
}
|
||||
if (isCurPetition)
|
||||
GetGui().endVoteOnKick();
|
||||
}
|
||||
|
||||
void
|
||||
ClientThread::UpdateStatData(const ServerStats &stats)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user