This commit is contained in:
ackimixs
2024-04-04 11:52:06 +02:00
parent 1cb5414834
commit 90ea3a6b5d
2 changed files with 3 additions and 0 deletions

View File

@@ -208,9 +208,11 @@ void MainWindow::handleMessage(const std::string& message)
{
if (waitingForTiretteValue)
{
qInfo() << "Tirette change, start game";
waintingForTirette->responseFromTirette(message);
} else
{
qInfo() << "Tirette change, change the text";
preparationMatch->responseTiretteState(QString::fromStdString(message));
}
}

View File

@@ -42,6 +42,7 @@ void WaintingForTirette::responseFromTirette(const std::string& response)
if (list[3] == "0")
{
qInfo() << "Game should start";
emit startGame();
}
}