forked from External/mage
Ban ignored users from watching
This commit bans ignored users from watching games where the creator has them on their ignore list.
This commit is contained in:
parent
62c14a9c24
commit
ad0507e739
8 changed files with 60 additions and 19 deletions
|
|
@ -605,6 +605,7 @@ public class TableController {
|
|||
table.initGame();
|
||||
GameOptions gameOptions = new GameOptions();
|
||||
gameOptions.rollbackTurnsAllowed = match.getOptions().isRollbackTurnsAllowed();
|
||||
gameOptions.bannedUsers = match.getOptions().getBannedUsers();
|
||||
match.getGame().setGameOptions(gameOptions);
|
||||
GameManager.instance.createGameSession(match.getGame(), userPlayerMap, table.getId(), choosingPlayerId, gameOptions);
|
||||
String creator = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue