debog output

This commit is contained in:
Gnieark 2015-12-18 21:31:43 +01:00
parent d3c1fd970a
commit 6ad612de14

View File

@ -238,7 +238,7 @@ switch ($_POST['act']){
if(!preg_match('/^[0-9]+,[0-9]$/',$anwserPlayer)){
echo json_encode(array(
'target' => '',
'log' => $currentBot['name']." a fait une réponse non conforme, il perd"
'log' => $currentBot['name']." a fait une réponse non conforme, il perd.".$anwserPlayer
));
save_battle('Battleship',$_SESSION['bot1']['name'],$_SESSION['bot2']['name'],$opponent);
die;