diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 078d2b8..5bed2e3 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -150,7 +150,7 @@ switch ($_POST['act']){ die; } - $boatsPlayer = $anwserPlayerJson['boats']; + $boatsPlayer = $anwserPlayerJson['responseArr']['boats']; //init grid for($y = 0; $y < $postValues['gridHeight']; $y++){