* Server: added stats about correctly ended tourneys and games in news feed;

This commit is contained in:
Oleg Agafonov 2020-09-04 02:43:07 +04:00
parent 535e49b89f
commit cf640b734b
3 changed files with 29 additions and 15 deletions

View file

@ -366,6 +366,7 @@ public enum TableManager {
if (table.getState() != TableState.FINISHED) {
if (game != null) {
GameManager.instance.removeGame(game.getId());
// something goes wrong, so don't add it to ended stats
}
GamesRoomManager.instance.removeTable(tableId);
}