Fixed Issue 424.

Number of poison counters not updated when winning the game with an attack.
This commit is contained in:
magenoxx 2011-12-30 17:27:40 +04:00
parent 259fce0182
commit 569d2c240a

View file

@ -28,11 +28,12 @@
package mage.server.game;
import java.util.UUID;
import java.util.concurrent.Callable;
import mage.game.Game;
import org.apache.log4j.Logger;
import java.util.UUID;
import java.util.concurrent.Callable;
/**
*
* @author BetaSteward_at_googlemail.com
@ -55,6 +56,7 @@ public class GameWorker implements Callable {
public Object call() {
try {
game.start(choosingPlayerId);
game.fireUpdatePlayersEvent();
result.gameResult(game.getWinner());
} catch (Exception ex) {
logger.fatal("GameWorker error ", ex);