mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
when a second game in the match starts, player will be shown directly the mulligan input
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user