Fixed a bug that user data was not set for players of tournaments (fixes #903).

This commit is contained in:
LevelX2 2015-04-12 08:34:23 +02:00
parent b79d6e64cf
commit ed9d0a5fc1

View file

@ -212,6 +212,7 @@ public class TableController {
logger.debug("Player " + player.getName() + " id: "+ player.getId() + " joined tableId: " + table.getId());
//only inform human players and add them to sessionPlayerMap
if (seat.getPlayer().isHuman()) {
seat.getPlayer().setUserData(user.getUserData());
user.addTable(player.getId(), table);
user.ccJoinedTable(table.getRoomId(), table.getId(), true);
userPlayerMap.put(userId, player.getId());