fix js$
This commit is contained in:
parent
30cd1bc199
commit
7366926906
|
@ -39,7 +39,7 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi
|
|||
||((longestShip > gridWidth) && (longestShip > gridHeight))
|
||||
){
|
||||
alert ("Map is too small. Grow it or reduce ships");
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user