fix typo
This commit is contained in:
parent
1b5222da39
commit
42ac952d83
|
@ -109,7 +109,7 @@ switch($_POST['act']){
|
||||||
|
|
||||||
//droite
|
//droite
|
||||||
if($xtest + $shipWidth > $width){
|
if($xtest + $shipWidth > $width){
|
||||||
$rigth=false;
|
$right=false;
|
||||||
}else{
|
}else{
|
||||||
$right=true;
|
$right=true;
|
||||||
for($i = $xtest; $i < $xtest + $shipWidth; $i++){
|
for($i = $xtest; $i < $xtest + $shipWidth; $i++){
|
||||||
|
@ -173,7 +173,7 @@ switch($_POST['act']){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print_r($shipsCoords);
|
echo json_encode($shipsCoords);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user