mirror of
https://github.com/correl/mage.git
synced 2024-12-01 03:00:09 +00:00
Added game state change in the loop
This commit is contained in:
parent
d73709bdbe
commit
53228d2389
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue