From 9ec70b4152557fdbcd29f4c8237bf129c31fcaca Mon Sep 17 00:00:00 2001 From: maiklez Date: Tue, 21 Jul 2015 13:52:08 +0200 Subject: [PATCH] Update GameHandController.java https://github.com/rosbo/texas-holdem-poker-ai/issues/14 --- .../java/edu/ntnu/texasai/controller/GameHandController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/ntnu/texasai/controller/GameHandController.java b/src/main/java/edu/ntnu/texasai/controller/GameHandController.java index 88c2fca..93ad385 100644 --- a/src/main/java/edu/ntnu/texasai/controller/GameHandController.java +++ b/src/main/java/edu/ntnu/texasai/controller/GameHandController.java @@ -80,7 +80,7 @@ protected Boolean playRound(GameHand gameHand) { // After a raise, every active players after the raiser must play if (bettingDecision.equals(BettingDecision.RAISE)) { - toPlay = gameHand.getPlayersCount() - 1; + toPlay = gameHand.getPlayersCount(); } applyDecision(gameHand, player, bettingDecision);