fix php parse error
This commit is contained in:
parent
8afa863be4
commit
84c80e1e44
|
@ -256,7 +256,7 @@ switch ($_POST['act']){
|
||||||
|
|
||||||
//do this shot hit a boat
|
//do this shot hit a boat
|
||||||
$result='';
|
$result='';
|
||||||
foreach($_SESSION['ships'][$opponent] as $ennemyBoat{
|
foreach($_SESSION['ships'][$opponent] as $ennemyBoat){
|
||||||
if(in_array($x.",".$y, $ennemyBoat)){
|
if(in_array($x.",".$y, $ennemyBoat)){
|
||||||
$result='hit';
|
$result='hit';
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user