diff --git a/Motus/Main.qml b/Motus/Main.qml index 4ef854cc877a37d63672e21aa8ff3ebb610a9ff8..4e36fee1caab1d45bbccc5bc6731cb529c9e6180 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -24,7 +24,6 @@ Window { property int nb_essais: arrayTry[nb_lettres - 4] property string mot: "" property var mot_split: [] - property var wordsByLength: motusGame.wordsByLength // Rectangle principal qui couvre la fenĂȘtre Rectangle { @@ -64,7 +63,7 @@ Window { mot_entre += caseArray[current_essai * nb_lettres + indice_case]; } - if (motusGame.existWord(QString(mot_entre)) === true){ + if (motusGame.existWord(mot_entre)){ // VĂ©rification de la proposition sur la ligne actuelle for (i = 0; i < nb_lettres; i++) { var case_verif = caseArray[current_essai * nb_lettres + i];