mirror of
https://github.com/correl/mage.git
synced 2025-04-10 01:01:05 -09: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…
Add table
Reference in a new issue