mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Fixed attackingPlayer sometimes not being set.
This commit is contained in:
@@ -84,7 +84,7 @@ public class Combat {
|
|||||||
this.unblocked.clear();
|
this.unblocked.clear();
|
||||||
this.defendingDamageMap.clear();
|
this.defendingDamageMap.clear();
|
||||||
|
|
||||||
this.attackingPlayer = null;
|
this.attackingPlayer = playerTurn;
|
||||||
|
|
||||||
this.initiatePossibleDefenders(playerTurn.getOpponents());
|
this.initiatePossibleDefenders(playerTurn.getOpponents());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ public class PhaseUtil {
|
|||||||
CMessage.SINGLETON_INSTANCE.updateGameInfo(Singletons.getModel().getMatch());
|
CMessage.SINGLETON_INSTANCE.updateGameInfo(Singletons.getModel().getMatch());
|
||||||
|
|
||||||
game.getCombat().reset(turn);
|
game.getCombat().reset(turn);
|
||||||
game.getCombat().setAttackingPlayer(turn);
|
|
||||||
|
|
||||||
// Tokens starting game in play should suffer from Sum. Sickness
|
// Tokens starting game in play should suffer from Sum. Sickness
|
||||||
final List<Card> list = turn.getCardsIncludePhasingIn(ZoneType.Battlefield);
|
final List<Card> list = turn.getCardsIncludePhasingIn(ZoneType.Battlefield);
|
||||||
|
|||||||
Reference in New Issue
Block a user