From 16206eb9748e85413976815017a1562d12fa08ed Mon Sep 17 00:00:00 2001 From: arun Date: Wed, 16 May 2007 12:34:17 +0000 Subject: [PATCH] found a bug in the shuffling routine --- functions.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index a8cdea8..66010ae 100644 --- a/functions.php +++ b/functions.php @@ -442,7 +442,7 @@ function create_array_of_random_numbers() for($i=0;$i<48;$i++) $a[$i]=$i+1; - $r = array_rand($a,48); + $r = shuffle($a); }; return $r; diff --git a/index.php b/index.php index 83c8cb7..712b48b 100644 --- a/index.php +++ b/index.php @@ -852,7 +852,7 @@ else if(myisset("me")) echo " Please, start the game.
"; } else - echo "You finished the setup, once everyone else has done the same you'll get an email when it is your turn..
"; + echo "You finished the setup, at the moment you need to reload this page after everyone else has finished there setup so that the server can figure out vorbehalte... in future this will get an email in case you need to do anything, but this is not implemented yet :(
"; break; case 'play': -- 2.25.1