.
This commit is contained in:
parent
f5ae0e84f0
commit
65f077a416
|
@ -56,7 +56,7 @@ switch ($_POST['act']){
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
if($_POST['fullLogs'] == 'true'){
|
if($_POST['fullLogs'] == 'true'){
|
||||||
$wantFullLogs = true;
|
$wantFullLogs = true;
|
||||||
}else{
|
}else{
|
||||||
$wantFullLogs = false;
|
$wantFullLogs = false;
|
||||||
}
|
}
|
||||||
|
@ -182,8 +182,6 @@ switch ($_POST['act']){
|
||||||
save_battle('Battleship',$bot1['name'],$bot2['name'],1);
|
save_battle('Battleship',$bot1['name'],$bot2['name'],1);
|
||||||
}
|
}
|
||||||
die;
|
die;
|
||||||
}else{
|
|
||||||
$grid['logs'][] = $fullLogs.$currentBot['name']." put his ships on the map.";
|
|
||||||
}
|
}
|
||||||
//remember each cases of each boats
|
//remember each cases of each boats
|
||||||
$boatListOfCases=array();
|
$boatListOfCases=array();
|
||||||
|
@ -224,6 +222,7 @@ switch ($_POST['act']){
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$grid['logs'][] = $fullLogs.$currentBot['name']." put his ships on the map.";
|
||||||
}
|
}
|
||||||
$_SESSION['ship1']=$postValues['nbShip1'];
|
$_SESSION['ship1']=$postValues['nbShip1'];
|
||||||
$_SESSION['ship2']=$postValues['nbShip2'];
|
$_SESSION['ship2']=$postValues['nbShip2'];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user