Client side vote kick changes - tab closes now. Server side fixes.
This commit is contained in:
1 parent
89450a9a32
commit
bd55b69817
4 files changed
+28
-7
No files matched your search
@@ -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