mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
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:
parent
e02ac0799e
commit
2e07f5f7c2
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue