Merge pull request #395 from RachelBryk/race

Fix a couple race conditions.
This commit is contained in:
Ryan Houdek
2014-06-07 01:10:51 -05:00
3 changed files with 6 additions and 1 deletions

View File

@ -908,6 +908,8 @@ void CFrame::ToggleDisplayMode(bool bFullscreen)
// Prepare the GUI to start the game.
void CFrame::StartGame(const std::string& filename)
{
if (m_bGameLoading)
return;
m_bGameLoading = true;
if (m_ToolBar)