debog output
This commit is contained in:
parent
7b539a959e
commit
9b7cde43bd
|
@ -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.|".nl2br($anwserPlayer)."|";
|
||||
'log' => $currentBot['name']." a fait une réponse non conforme, il perd.|".nl2br($anwserPlayer)."|"
|
||||
));
|
||||
save_battle('Battleship',$_SESSION['bot1']['name'],$_SESSION['bot2']['name'],$opponent);
|
||||
die;
|
||||
|
|
Loading…
Reference in New Issue
Block a user