mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Combat - Fixed a bug that the game log showed block information of blocks that were undone.
This commit is contained in:
parent
70b33e5475
commit
9da4d44ad2
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ public class Combat implements Serializable, Copyable<Combat> {
|
||||||
*/
|
*/
|
||||||
private void logBlockerInfo(Player defender, Game game) {
|
private void logBlockerInfo(Player defender, Game game) {
|
||||||
boolean shownDefendingPlayer = game.getPlayers().size() < 3; // only two players no ned to sow the attacked player
|
boolean shownDefendingPlayer = game.getPlayers().size() < 3; // only two players no ned to sow the attacked player
|
||||||
for (CombatGroup group : this.getGroups()) {
|
for (CombatGroup group : game.getCombat().getGroups()) {
|
||||||
if (group.defendingPlayerId.equals(defender.getId())) {
|
if (group.defendingPlayerId.equals(defender.getId())) {
|
||||||
if (!shownDefendingPlayer) {
|
if (!shownDefendingPlayer) {
|
||||||
game.informPlayers("Attacked player: " + defender.getLogName());
|
game.informPlayers("Attacked player: " + defender.getLogName());
|
||||||
|
|
Loading…
Reference in a new issue