* Game timer - Fixed that the timer count down was not shown while selecting the starting player and deciding for mulligan.

This commit is contained in:
LevelX2 2015-05-20 23:27:00 +02:00
parent a3065b703a
commit f5245ade01
3 changed files with 19 additions and 6 deletions

View file

@ -90,7 +90,8 @@ public class PlayerView implements Serializable {
this.hasPriority = player.getId().equals(state.getPriorityPlayerId());
this.priorityTimeLeft = player.getPriorityTimeLeft();
this.timerActive = (this.hasPriority && player.isGameUnderControl()) ||
(player.getPlayersUnderYourControl().contains(state.getPriorityPlayerId()));
(player.getPlayersUnderYourControl().contains(state.getPriorityPlayerId())) ||
player.getId().equals(game.getState().getChoosingPlayerId());
this.hasLeft = player.hasLeft();
for (Card card: player.getGraveyard().getCards(game)) {