diff --git a/src/arenas/Battleship/functions.php b/src/arenas/Battleship/functions.php index 9dae55d..f57cd56 100644 --- a/src/arenas/Battleship/functions.php +++ b/src/arenas/Battleship/functions.php @@ -26,7 +26,7 @@ function generate_numeric_select($start,$end,$selected,$name,$id){ } $out.=">"; - if($select == -1){ + if($selected == -1){ for($i=$start; $i <= $end; $i++ ){ $out.=''; }