From f6212a89479e6a93fcb33c5a8b4083b92bc3e1f0 Mon Sep 17 00:00:00 2001 From: gnieark Date: Tue, 15 Dec 2015 22:41:57 +0100 Subject: [PATCH] debug php --- 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 518cf59..d255b0e 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -90,7 +90,7 @@ switch ($_POST['act']){ $anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend); $boatsPlayer = json_decode( html_entity_decode($anwserPlayer)); if(!$boatsPlayer){ - echo $currentBot['name']." a fait une réponse non conforme, il perd."; + echo $currentBot['name']." a fait une réponse non conforme, il perd.".$anwserPlayer; if($player==1){ save_battle('Battleship',$bot1['name'],$bot2['name'],2); }else{