diff --git a/src/arenas/Battleship/functions.php b/src/arenas/Battleship/functions.php index 723c8b8..9079a2e 100644 --- a/src/arenas/Battleship/functions.php +++ b/src/arenas/Battleship/functions.php @@ -17,8 +17,9 @@ function is_it_possible_to_place_ships_on_grid($gridWidth,$gridHeight,$nbShipsSi if( (!isset($longestShip)) OR(($longestShip > $gridWidth) && ($longestShip > $gridHeight)) ){ - return false: + return false; } + return true; } function get_Post_Params($ccbotsCount){ $keysBots=array('bot1','bot2');