From 42d50519b3a4edd1fcca281906f701bf5cda2860 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 18 Dec 2015 20:29:17 +0100 Subject: [PATCH] fix php parse error --- src/arenas/Battleship/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index e586f97..b1026ca 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -206,7 +206,7 @@ switch ($_POST['act']){ //player 1 has to fight $currentPlayer=1; $currentBot=$_SESSION['bot1']; - $opennent=2; + $openent=2; $opponentName=$_SESSION['bot2']['name']; }else{ //it's player2