From ba21f4799f82077c23c44df87df421c45922d18b Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 2 Jun 2013 09:37:17 +0200 Subject: [PATCH] Initializing player life and top card reveald state for new game so that the values from last game are not applied at the start of the new game of a match. --- Mage/src/mage/players/PlayerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index 0dbc8f9d86d..52f366ee1b2 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -281,6 +281,8 @@ public abstract class PlayerImpl> implements Player, Ser this.passedAllTurns = false; this.canGainLife = true; this.canLoseLife = true; + this.topCardRevealed = false; + this.setLife(game.getLife(), game); game.getState().getWatchers().add(new BloodthirstWatcher(playerId)); }