mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
* 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:
parent
a3065b703a
commit
f5245ade01
3 changed files with 19 additions and 6 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue