gameData.getVoteList().clear();
List<Agent> voters = getAliveAgentList();
List<Agent> aliveCandidates = voters;
for (Agent agent : voters) {
Agent target = gameServer.requestVote(agent);
<BUG>if (gameData.getStatus(target) == Status.DEAD || target == null || agent.equals(target)) {
</BUG>
target = getRandomAgent(aliveCandidates, agent);
}
Vote vote = new Vote(gameData.getDay(), agent, target);

gameData.getVoteList().clear();
List<Agent> voters = getAliveAgentList();
List<Agent> aliveCandidates = voters;
for (Agent agent : voters) {
Agent target = gameServer.requestVote(agent);
if (gameData.getStatus(target) == Status.DEAD || target == null || agent == target) {
target = getRandomAgent(aliveCandidates, agent);
}
Vote vote = new Vote(gameData.getDay(), agent, target);
