From 65f077a416a2d1580ed02700e250e15ecc0f7870 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 20 Jun 2016 18:47:15 +0200 Subject: [PATCH] . --- src/arenas/Battleship/act.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 4b14dd5..9dd054a 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -56,7 +56,7 @@ switch ($_POST['act']){ die; } if($_POST['fullLogs'] == 'true'){ - $wantFullLogs = true; + $wantFullLogs = true; }else{ $wantFullLogs = false; } @@ -182,8 +182,6 @@ switch ($_POST['act']){ save_battle('Battleship',$bot1['name'],$bot2['name'],1); } die; - }else{ - $grid['logs'][] = $fullLogs.$currentBot['name']." put his ships on the map."; } //remember each cases of each boats $boatListOfCases=array(); @@ -223,7 +221,8 @@ switch ($_POST['act']){ } die; } - } + } + $grid['logs'][] = $fullLogs.$currentBot['name']." put his ships on the map."; } $_SESSION['ship1']=$postValues['nbShip1']; $_SESSION['ship2']=$postValues['nbShip2'];