fixed issue with watching games

This commit is contained in:
betasteward 2015-09-10 13:19:14 -04:00
parent 8731ebe6ed
commit d0671ee88e

View file

@ -448,7 +448,8 @@ public class TableController {
if (userPlayerMap.get(userId) != null) {
return;
}
UserManager.getInstance().getUser(userId).watchGame(match.getGame().getId(), getChatId());
UUID gameId = match.getGame().getId();
UserManager.getInstance().getUser(userId).watchGame(gameId, GameManager.getInstance().getChatId(gameId));
}
}