optimizations + some fixes - mostly for monte carlo simulations

This commit is contained in:
BetaSteward 2011-10-25 15:17:42 -04:00
parent ee2417f730
commit 517a0cae26
31 changed files with 347 additions and 227 deletions

View file

@ -406,7 +406,8 @@ public class TableController {
UUID choosingPlayerId = match.getChooser();
match.endGame();
table.endGame();
GameManager.getInstance().saveGame(match.getGame().getId());
if (!match.getGame().isSimulation())
GameManager.getInstance().saveGame(match.getGame().getId());
GameManager.getInstance().removeGame(match.getGame().getId());
try {
if (!match.isMatchOver()) {