diff --git a/app/fourasmodule.cpp b/app/fourasmodule.cpp index d839238..ff143cd 100644 --- a/app/fourasmodule.cpp +++ b/app/fourasmodule.cpp @@ -65,10 +65,14 @@ bool FourasModule::messageHandler(Message msg) else ++nbClues; if(nbClues > str.size()) - break; + { + answer = say(QString("%1 - Perdu ! La réponse était : %2").arg(current).arg(str)); + current = -1; + return true; + } } ++nbClues; - answer = say(QString("Indice : ").append(str)); + answer = say(QString("Indice : ").append(finalString)); return true; } }