Client side vote kick changes - tab closes now. Server side fixes.

This commit is contained in:
lotodore
2008-12-07 11:48:01 +00:00
parent 89450a9a32
commit bd55b69817
4 changed files with 28 additions and 7 deletions
+12
View File
@@ -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)
{