This commit is contained in:
BetaSteward 2010-03-27 02:09:46 +00:00
parent 8c01687bc2
commit 49dcef3a85

View file

@ -343,9 +343,11 @@ public class HumanPlayer extends PlayerImpl {
}
else {
game.fireGetChoiceEvent(playerId, name, abilities.values());
waitForUUIDResponse();
if (abilities.containsKey(response.getUUID()))
activateAbility(abilities.get(response.getUUID()), game);
waitForResponse();
if (response.getUUID() != null) {
if (abilities.containsKey(response.getUUID()))
activateAbility(abilities.get(response.getUUID()), game);
}
}
}