Fixing "game does not start automatically" issue.

This commit is contained in:
lotodore
2010-09-26 06:58:49 +00:00
parent 918bd478cd
commit 04436c260b
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -73,11 +73,11 @@ SessionManager::SetSessionPlayerData(SessionId session, boost::shared_ptr<Player
pos->second.playerData = playerData;
}
void
bool
SessionManager::RemoveSession(SessionId session)
{
boost::recursive_mutex::scoped_lock lock(m_sessionMapMutex);
m_sessionMap.erase(session);
return m_sessionMap.erase(session) == 1;
}
SessionWrapper