case ship outside map

This commit is contained in:
Gnieark 2015-12-14 23:22:12 +01:00
parent deb74b073e
commit dd93ab07b8

View File

@ -96,6 +96,7 @@ switch ($_POST['act']){
}else{
save_battle('Battleship',$bot1['name'],$bot2['name'],1);
}
die;
}
//init grid
@ -126,6 +127,7 @@ switch ($_POST['act']){
}else{
save_battle('Battleship',$bot1['name'],$bot2['name'],1);
}
die;
}
}
foreach($nbBoatsIwant as $nb){
@ -136,6 +138,7 @@ switch ($_POST['act']){
}else{
save_battle('Battleship',$bot1['name'],$bot2['name'],1);
}
die;
}
}
}