From 4c29f1a574fe19cfe2ac5ba066e9bcb77488c032 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sun, 19 Jun 2016 21:47:47 +0200 Subject: [PATCH] . --- src/arenas/Battleship/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++){