mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Tournament play - Fixed that AI players were unwanted removed from combat at the start of a new tournament round.
This commit is contained in:
parent
89d6c4253b
commit
b03048b01a
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ public class TournamentController {
|
|||
|
||||
private void checkPlayersState() {
|
||||
for (TournamentPlayer tournamentPlayer: tournament.getPlayers()) {
|
||||
if (!tournamentPlayer.getEliminated()) {
|
||||
if (!tournamentPlayer.getEliminated() && tournamentPlayer.getPlayer().isHuman()) {
|
||||
if (tournamentSessions.containsKey(tournamentPlayer.getPlayer().getId())) {
|
||||
if (tournamentSessions.get(tournamentPlayer.getPlayer().getId()).isKilled()) {
|
||||
tournamentPlayer.setEliminated();
|
||||
|
|
Loading…
Reference in a new issue