diff options
Diffstat (limited to 'src/jrummikub')
-rw-r--r-- | src/jrummikub/control/turn/BaseAIControl.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jrummikub/control/turn/BaseAIControl.java b/src/jrummikub/control/turn/BaseAIControl.java index fbd9c75..55cece8 100644 --- a/src/jrummikub/control/turn/BaseAIControl.java +++ b/src/jrummikub/control/turn/BaseAIControl.java @@ -63,8 +63,12 @@ public class BaseAIControl extends AbstractTurnControl { } private void compute() { - if (mayRedeal) { - emitRedeal(); + if (inspectOnly) { + if (mayRedeal) { + emitRedeal(); + } else { + emitEndOfTurn(); + } } else { turn(); } |