Fixed a bug of handling of tournament sub tables if a user left. Some changes to match view.

This commit is contained in:
LevelX2 2014-09-04 19:03:48 +02:00
parent 3699b7ca3d
commit d051aef63f
3 changed files with 9 additions and 4 deletions

View file

@ -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()) {