oups infinite loop

This commit is contained in:
gnieark 2016-05-15 00:19:45 +02:00
parent 3d0d969acd
commit 107c424c0b

View File

@ -144,7 +144,7 @@ switch ($_POST['act']){
//tester si 4 pions allignés vers le haut
if((!$wins) && ($j<3)){
$wins = true;
for($y = $j+1; $y < $j + 4; $j++){
for($y = $j+1; $y < $j + 4; $y++){
if($_SESSION['map'][$y][$i] <> $you){
$wins=false;
break;