when a second game in the match starts, player will be shown directly the mulligan input

This commit is contained in:
Maxmtg
2013-03-09 06:51:31 +00:00
parent 3e6d4ecc0c
commit d91545cfb3
2 changed files with 4 additions and 2 deletions

View File

@@ -85,7 +85,6 @@ public class GameNew {
* their decks and other special starting conditions.
*/
public static void newGame(final MatchController match, final Map<Player, PlayerStartConditions> playersConditions, final GameState game, final boolean canRandomFoil) {
match.getInput().clearInput();
Card.resetUniqueNumber();
// need this code here, otherwise observables fail

View File

@@ -160,6 +160,9 @@ public class MatchController {
final boolean canRandomFoil = Singletons.getModel().getPreferences().getPrefBoolean(FPref.UI_RANDOM_FOIL) && gameType == GameType.Constructed;
GameNew.newGame(this, startConditions, currentGame, canRandomFoil);
getInput().clearInput();
getInput().resetInput();
Thread thGame = new GameInputUpdatesThread(this, currentGame);
thGame.setName("Game input updater");
thGame.start();