From 775bbd895cb60c0d62bd2cc2f1b2faeb00001efb Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Tue, 19 Aug 2008 20:00:20 -0700 Subject: [PATCH] BUGFIX: error in scoring algorithm when two players on the contra team made a call to figure out who made the lower call, you need to compare the two calls, but for some reason instead of comparing the two contra-calls, the contra call was compared to the re-call which could make the algorithm belief that the contra-call was higher than it was. Signed-off-by: Arun Persaud --- include/game.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/game.php b/include/game.php index a7004d6..8feda71 100644 --- a/include/game.php +++ b/include/game.php @@ -1557,7 +1557,7 @@ switch($mystatus) { if($call_contra==NULL) $call_contra = $call; - else if( $call < $call_re) + else if( $call < $call_contra) $call_contra = $call; } } -- 2.34.1