From 019cd7da07f9f69f5dc157c06952c52f2c3f382d Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 12 Dec 2015 10:56:00 +0100 Subject: [PATCH] fix js parameter --- src/arenas/Battleship/act.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 27124c1..0b7bb9f 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -8,12 +8,12 @@ switch ($_POST['act']){ // key,min,max array('gridWidth',1,100), array('gridHeight',1,100), - array('ship1',1,10), - array('ship2',1,10), - array('ship3',1,10), - array('ship4',1,10), - array('ship5',1,10), - array('ship6',1,10) + array('nbShip1',1,10), + array('nbShip2',1,10), + array('nbShip3',1,10), + array('nbShip4',1,10), + array('nbShip5',1,10), + array('nbShip6',1,10) ); foreach($postParamsWanted as $p){