diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index ad9ca1896..d92cc9555 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -472,17 +472,18 @@ void GameStateDuel::Update(float dt) handleResults(game); End(); Start(); - } - if(mWorkerThread.empty()) - { // "I don't like to wait" mode - size_t thread_count = 1; - startTime = JGEGetTime(); - #ifdef QT_CONFIG - thread_count = QThread::idealThreadCount(); - #endif - for(size_t i = 0; i < (thread_count-1); i++) - mWorkerThread.push_back(boost::thread(ThreadProc, this)); + if(mWorkerThread.empty()) + { // "I don't like to wait" mode + size_t thread_count = 1; + startTime = JGEGetTime(); + + #ifdef QT_CONFIG + thread_count = QThread::idealThreadCount(); + #endif + for(size_t i = 0; i < (thread_count-1); i++) + mWorkerThread.push_back(boost::thread(ThreadProc, this)); + } } } #endif