Fixed Issue#113:Optical effect that the creature has been controlled by the active player continuously since the turn began is removed too late

This commit is contained in:
magenoxx 2013-03-19 11:28:54 +04:00
parent e02ac0799e
commit 2e07f5f7c2

View file

@ -727,6 +727,7 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
else { else {
state.getPlayerList().setCurrent(this.getPriorityPlayerId()); state.getPlayerList().setCurrent(this.getPriorityPlayerId());
} }
fireUpdatePlayersEvent();
Player player; Player player;
while (!isPaused() && !isGameOver()) { while (!isPaused() && !isGameOver()) {
try { try {
@ -1332,6 +1333,7 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
if (simulation) { if (simulation) {
return; return;
} }
logger.trace("fireUpdatePlayersEvent");
tableEventSource.fireTableEvent(EventType.UPDATE, null, this); tableEventSource.fireTableEvent(EventType.UPDATE, null, this);
} }