forked from External/mage
* Server: added stats about correctly ended tourneys and games in news feed;
This commit is contained in:
parent
535e49b89f
commit
cf640b734b
3 changed files with 29 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue