From e5ce44cb42cfee4e73e3539179b3b6a58eb7ee5c Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sun, 19 Jun 2016 21:46:55 +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 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){