From af0ce417583b856d08d3f471b691ceda9ce11534 Mon Sep 17 00:00:00 2001
From: amassies <alexandre.massies@etu.ec-lyon.fr>
Date: Mon, 31 Mar 2025 08:25:36 +0200
Subject: [PATCH] =?UTF-8?q?push=20interm=C3=A9diaire?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Motus/Main.qml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Motus/Main.qml b/Motus/Main.qml
index 4ef854c..4e36fee 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];
-- 
GitLab