forked from External/mage
Add exclusion condition 'two player duel' to expire checker in TableManager. That fix the bug cause the table with AI player be removed in tournament temporarily
This commit is contained in:
parent
60d81ffb37
commit
71909e8310
1 changed files with 3 additions and 0 deletions
|
|
@ -319,6 +319,9 @@ public class TableManager {
|
|||
if (player != null && player.isHuman()) {
|
||||
canBeRemoved = false;
|
||||
}
|
||||
if(table.getGameType().equals("Two Player Duel")){
|
||||
canBeRemoved = false;
|
||||
}
|
||||
}
|
||||
if (canBeRemoved) {
|
||||
logger.info("Table with no human player: id = " + table.getId() + ", created_by=" + table.getControllerName() + ". Removing...");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue