diff --git a/WEB/Controller/PartieGateway.php b/WEB/Controller/PartieGateway.php index 2c741f9d..66cf0ff6 100644 --- a/WEB/Controller/PartieGateway.php +++ b/WEB/Controller/PartieGateway.php @@ -169,7 +169,7 @@ class PartieGateway "idEnigme" => array($enigme->getIdEnigme(), SQLITE3_INTEGER) ) ); - $tpsMaxPartie += $enigme->getTemps(); + $tpsMaxPartie += $enigme->getTempsDeResolution(); } $_SESSION['tpsMaxPartie'] = $tpsMaxPartie; $query = "INSERT INTO Participer VALUES (:partie,:utilisateur,0)";