forked from External/mage
optimizations + some fixes - mostly for monte carlo simulations
This commit is contained in:
parent
ee2417f730
commit
517a0cae26
31 changed files with 347 additions and 227 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue