debug off
This commit is contained in:
parent
fdeb4e8e36
commit
e83ad7c7bf
@ -180,7 +180,7 @@ public class BunkerBot extends TelegramLongPollingBot {
|
|||||||
private void startGame() {
|
private void startGame() {
|
||||||
if( gameState != GameState.JOINING )
|
if( gameState != GameState.JOINING )
|
||||||
return;
|
return;
|
||||||
if(players.size() < 1) { // TODO: change to 2
|
if(players.size() < 2) { // TODO: change to 2
|
||||||
sendApi(new SendMessage(groupId, Constants.PLAYERS_LESS_THAN_ZERO));
|
sendApi(new SendMessage(groupId, Constants.PLAYERS_LESS_THAN_ZERO));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user