diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 0472510..6dc5d24 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -20,6 +20,9 @@ function changeSelect(number,botId){ }else{ show_bot_panel(next); } + if(number > 1){ + document.getElementById('fightButton').setAttribute('disabled',''); + } } } function show_bot_panel(number){ diff --git a/src/arenas/tron/public.php b/src/arenas/tron/public.php index 3dfa844..da6083e 100644 --- a/src/arenas/tron/public.php +++ b/src/arenas/tron/public.php @@ -29,7 +29,7 @@ foreach($bots as $bot){

-

+

\ No newline at end of file