- Fixed MaxhandSize < 0 case in InputCleanup.

This commit is contained in:
Sloth
2012-11-27 16:58:11 +00:00
parent 203a432255
commit 76a1ad7160

View File

@@ -50,7 +50,7 @@ public class InputCleanup extends Input {
final int n = active.getCardsIn(ZoneType.Hand).size();
final int max = active.getMaxHandSize();
// goes to the next phase
if (n <= max || max == -1) {
if (n <= max || n <= 0) {
Singletons.getModel().getGame().getPhaseHandler().passPriority();
return;
}