4 ème essaie
continuous-integration/drone/push Build is failing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 28366e2a95
commit 71aebe1432

@ -52,7 +52,7 @@ $error = "";
// Server // Server
$serverAdress = "82.165.180.114"; $serverAdress = "82.165.180.114";
$playerNumberPerGame = 2; $playerNumberPerGame = 3;
$nbEnigmePerGame = 2; $nbEnigmePerGame = 2;

@ -132,9 +132,8 @@ class UserModel
} }
else{ else{
for ($i = 1; $i < $playerNumberPerGame; $i++){ for ($i = 1; $i < $playerNumberPerGame; $i++){
$classement = 3;
if ($leClassement[$i] == null){ if ($leClassement[$i] == null){
$classement = 2; $classement = $i + 1;
break; break;
} }
} }

Loading…
Cancel
Save