mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Restart game - update ability executor to work correctly with async inputs.
This commit is contained in:
@@ -49,6 +49,8 @@ public class RestartGameEffect extends SpellAbilityEffect {
|
||||
}
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user