Merge fix

This commit is contained in:
Oleg Agafonov 2024-03-22 17:00:41 +04:00
parent fef37cdc73
commit 1f83927eb1

View file

@ -533,7 +533,7 @@
case 6:{ case 6:{
if (tables[arg0].getGames().isEmpty()) { if (tables[arg0].getGames().isEmpty()) {
return "NO GAMES"; return "NO GAMES";
} else if (tables[arg0].getGames().size() == 0) { } else if (tables[arg0].getGames().size() == 1) {
return tables[arg0].getGames().get(0).toString(); return tables[arg0].getGames().get(0).toString();
} else { } else {
return String.format("%d games:", tables[arg0].getGames().size()) return String.format("%d games:", tables[arg0].getGames().size())