mirror of
https://github.com/correl/mage.git
synced 2025-04-13 09:11:06 -09:00
fixed Lich's Mastery preventing auto-win effects
This commit is contained in:
parent
4bc0ba8509
commit
75bef57832
1 changed files with 1 additions and 1 deletions
|
@ -2226,7 +2226,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
||||||
Player opponent = game.getPlayer(opponentId);
|
Player opponent = game.getPlayer(opponentId);
|
||||||
if (opponent != null && !opponent.hasLost()) {
|
if (opponent != null && !opponent.hasLost()) {
|
||||||
logger.debug("player won -> calling opponent lost: " + this.getName() + " opponent: " + opponent.getName());
|
logger.debug("player won -> calling opponent lost: " + this.getName() + " opponent: " + opponent.getName());
|
||||||
opponent.lost(game);
|
opponent.lostForced(game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if no more opponents alive, you win and the game ends
|
// if no more opponents alive, you win and the game ends
|
||||||
|
|
Loading…
Add table
Reference in a new issue