Added game state change in the loop

This commit is contained in:
magenoxx 2017-05-13 18:56:48 +03:00
parent d73709bdbe
commit 53228d2389

View file

@ -244,6 +244,7 @@ public class HumanPlayer extends PlayerImpl {
while (!abort) { while (!abort) {
game.fireChooseChoiceEvent(playerId, replacementEffectChoice); game.fireChooseChoiceEvent(playerId, replacementEffectChoice);
updateGameStatePriority("chooseEffect", game);
waitForResponse(game); waitForResponse(game);
logger.debug("Choose effect: " + response.getString()); logger.debug("Choose effect: " + response.getString());
if (response.getString() != null) { if (response.getString() != null) {