forked from External/mage
* Match handling - some changes to solve/workaround the draw games that cause matches not to end. Changed disconnect handling to not block the client (needs tests if works correctly).
This commit is contained in:
parent
8567c1cd38
commit
3c12b23928
9 changed files with 100 additions and 58 deletions
|
|
@ -55,6 +55,7 @@ public class GameWorker implements Callable {
|
|||
@Override
|
||||
public Object call() {
|
||||
try {
|
||||
logger.debug("GameWorker started gameId "+ game.getId());
|
||||
game.start(choosingPlayerId);
|
||||
game.fireUpdatePlayersEvent();
|
||||
result.gameResult(game.getWinner());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue