mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
GUI, game: fixed that attacking creature draws a wrong colored arrow after blocked creature removed (must be gray, close #11894)
This commit is contained in:
parent
aeded36c09
commit
db9bdc05c2
3 changed files with 8 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ public enum CombatManager {
|
|||
UUID defenderId = group.getDefenderId();
|
||||
if (defenderId != null) {
|
||||
// if attacker was blocked then use another arrow color
|
||||
Color attackColor = group.getBlockers().isEmpty() ? ARROW_COLOR_ATTACKER : ARROW_COLOR_BLOCKED_ATTACKER;
|
||||
Color attackColor = group.isBlocked() ? ARROW_COLOR_BLOCKED_ATTACKER : ARROW_COLOR_ATTACKER;
|
||||
parentPoint = getParentPoint(attackerCard);
|
||||
PlayAreaPanel p = MageFrame.getGamePlayers(gameId).get(defenderId);
|
||||
if (p != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue