* Detained - Fixed the bug that detain effect ended a turn earlier as intended.

This commit is contained in:
LevelX2 2013-09-12 08:35:03 +02:00
parent 33901e8b3d
commit 46c76329db

View file

@ -50,11 +50,11 @@ public class PlayerList extends CircularList<UUID> {
while (true) {
player = game.getPlayer(super.getNext());
if (!player.hasLeft() && !player.hasLost()) {
if (!player.hasReachedNextTurnAfterLeaving()) {
player.setReachedNextTurnAfterLeaving(true);
}
break;
}
if (!player.hasReachedNextTurnAfterLeaving()) {
player.setReachedNextTurnAfterLeaving(true);
}
if (player.getId().equals(start)) {
return null;
}