This commit is contained in:
Gnieark 2016-06-19 21:25:21 +02:00
parent f9913ae183
commit 814c7c3801

View File

@ -111,7 +111,7 @@ switch ($_POST['act']){
'game-id' => $_SESSION['matchId'], 'game-id' => $_SESSION['matchId'],
'game' => 'battleship', 'game' => 'battleship',
'action' => 'init', 'action' => 'init',
'players' => 2 'players' => 2,
'player-index' => $player -1, 'player-index' => $player -1,
'board' => array( 'board' => array(
'opponent' => $opponentName, 'opponent' => $opponentName,