diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 66bd009..078d2b8 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -139,7 +139,7 @@ switch ($_POST['act']){ ; - if(!isset($anwserPlayerJson['response']['boats'])){ + if(!isset($anwserPlayerJson['responseArr']['boats'])){ echo $fullLogs.$currentBot['name']." a fait une réponse non conforme, il perd 1."; if($player==1){