* Tournament play - Fixed that AI players were unwanted removed from combat at the start of a new tournament round.

This commit is contained in:
LevelX2 2014-04-12 18:15:32 +02:00
parent 89d6c4253b
commit b03048b01a

View file

@ -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();