diff --git a/NineChess/src/aithread.cpp b/NineChess/src/aithread.cpp index 12416c70..d9bb765d 100644 --- a/NineChess/src/aithread.cpp +++ b/NineChess/src/aithread.cpp @@ -126,12 +126,12 @@ void AiThread::run() if (ai_ab.alphaBetaPruning(aiDepth) == 3) { qDebug() << "Draw\n"; strCommand = "draw"; - QTimer::singleShot(100, this, &AiThread::emitCommand); + QTimer::singleShot(500, this, &AiThread::emitCommand); } else { strCommand = ai_ab.bestMove(); qDebug() << "Computer:" << strCommand << "\n"; if (strcmp(strCommand, "error!")) - QTimer::singleShot(100, this, &AiThread::emitCommand); + QTimer::singleShot(500, this, &AiThread::emitCommand); } #ifdef DEBUG_MODE