if stack is not empty, give one second for player to notice that is happening

master
melvin 2011-06-04 17:40:05 +08:00
parent 543f5bff7e
commit 5c62adf148
1 changed files with 9 additions and 1 deletions

View File

@ -89,9 +89,17 @@ public class MagicPlayChoice extends MagicChoice {
}
if (validChoices.isEmpty() && game.canSkipSingleChoice()) {
if (!game.getStack().isEmpty()) {
try {
Thread.sleep(1000);
} catch (final Exception err) {
}
}
return PASS_CHOICE_RESULTS;
}
if (game.getStack().isEmpty() && game.getPassPriority()) {
if ((game.getStack().isEmpty() || game.getStack().hasItemOnTopOfPlayer(player)) && game.getPassPriority()) {
return PASS_CHOICE_RESULTS;
}