mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +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() {
|
private void checkPlayersState() {
|
||||||
for (TournamentPlayer tournamentPlayer: tournament.getPlayers()) {
|
for (TournamentPlayer tournamentPlayer: tournament.getPlayers()) {
|
||||||
if (!tournamentPlayer.getEliminated()) {
|
if (!tournamentPlayer.getEliminated() && tournamentPlayer.getPlayer().isHuman()) {
|
||||||
if (tournamentSessions.containsKey(tournamentPlayer.getPlayer().getId())) {
|
if (tournamentSessions.containsKey(tournamentPlayer.getPlayer().getId())) {
|
||||||
if (tournamentSessions.get(tournamentPlayer.getPlayer().getId()).isKilled()) {
|
if (tournamentSessions.get(tournamentPlayer.getPlayer().getId()).isKilled()) {
|
||||||
tournamentPlayer.setEliminated();
|
tournamentPlayer.setEliminated();
|
||||||
|
|
Loading…
Reference in a new issue