Restart game - update ability executor to work correctly with async inputs.

This commit is contained in:
Maxmtg
2013-05-12 17:33:57 +00:00
parent be08ba3285
commit f352cba904

View File

@@ -49,6 +49,8 @@ public class RestartGameEffect extends SpellAbilityEffect {
} }
GameNew.restartGame(game.getMatch(), game, sa.getActivatingPlayer(), playerLibraries); GameNew.restartGame(game.getMatch(), game, sa.getActivatingPlayer(), playerLibraries);
game.getMatch().getInput().lock(); // restore the 'locked' state of the input,
// because the caller method (invokeInNewThread) will try to unlock input. Restart has removed that input state.
} }
/* (non-Javadoc) /* (non-Javadoc)