forked from External/mage
Fixed a bug of handling of tournament sub tables if a user left. Some changes to match view.
This commit is contained in:
parent
3699b7ca3d
commit
d051aef63f
3 changed files with 9 additions and 4 deletions
|
|
@ -67,7 +67,9 @@ public class TableView implements Serializable {
|
|||
this.tableName = table.getName();
|
||||
this.controllerName = table.getControllerName();
|
||||
this.tableState = table.getState();
|
||||
if (table.getState().equals(TableState.WAITING) || table.getState().equals(TableState.WAITING)) {
|
||||
if (table.getState().equals(TableState.WAITING) ||
|
||||
table.getState().equals(TableState.READY_TO_START) ||
|
||||
table.getState().equals(TableState.STARTING) ) {
|
||||
this.createTime = table.getCreateTime();
|
||||
} else {
|
||||
if (table.isTournament()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue