From 27e1cfa401e4223550f8a8cc434ae0f4605bf775 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 22 May 2008 21:43:00 -0700 Subject: BUGIFX: more accurate display of whos turn it is forgot some breaks when looping over all players, so that the player was set to someone that needed to do something, but not to the player closest to the dealer, but furthest away from him. Signed-off-by: Arun Persaud --- include/game.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/game.php b/include/game.php index 7905acd..b8a2fcb 100644 --- a/include/game.php +++ b/include/game.php @@ -189,6 +189,7 @@ switch($mystatus) /* whos turn is it? */ DB_set_player_by_gameid($gameid,$user); $ok = 0; + break; } }; if($ok) @@ -380,6 +381,7 @@ switch($mystatus) { $ok = 0; DB_set_player_by_gameid($gameid,$user); + break; } }; @@ -907,6 +909,7 @@ switch($mystatus) { $ok = 0; DB_set_player_by_gameid($gameid,$user); + break; } } if($ok) -- cgit v1.2.3-18-g5258