mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fixed Issue 424.
Number of poison counters not updated when winning the game with an attack.
This commit is contained in:
parent
259fce0182
commit
569d2c240a
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue