mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
fixed issue with watching games
This commit is contained in:
parent
8731ebe6ed
commit
d0671ee88e
1 changed files with 2 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue