From 98530a3f4de9d5f01b2b3fc39e74fac5c9658fa8 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 18 Dec 2015 20:29:42 +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 b1026ca..66983e6 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']; - $openent=2; + $opponent=2; $opponentName=$_SESSION['bot2']['name']; }else{ //it's player2