From 9d4a266eb40d9336eef0a506563177eb31d27317 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 18 Dec 2015 20:25:29 +0100 Subject: [PATCH] fix php parse error --- src/arenas/Battleship/act.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 0d28506..d23bca6 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -218,7 +218,7 @@ switch ($_POST['act']){ $botParamsToSend=array( 'game' => 'Battleship', - 'match_id' => $_SESSION['matchId']."-".$currentPlayer; + 'match_id' => $_SESSION['matchId']."-".$currentPlayer, 'act' => 'fight', 'opponent' => $opponentName, 'width' => $_SESSION['width'], @@ -228,9 +228,9 @@ switch ($_POST['act']){ 'ship3' => $postValues['nbShip3'], 'ship4' => $postValues['nbShip4'], 'ship5' => $postValues['nbShip5'], - 'ship6' => $postValues['nbShip6'] + 'ship6' => $postValues['nbShip6'], 'your_hits' => json_encode($_SESSION['hits'][$player]), - 'his_hits' => json_encode($_SESSION['hits'][$opponent]), + 'his_hits' => json_encode($_SESSION['hits'][$opponent]) ); $anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend);