BUGFIX: gametype was displayed in pre-phase of the game
authorArun Persaud <arun@nubati.net>
Thu, 10 May 2012 05:32:42 +0000 (22:32 -0700)
committerArun Persaud <arun@nubati.net>
Thu, 10 May 2012 05:32:42 +0000 (22:32 -0700)
This could give away the type of sickness a player has

include/game.php

index 5adbff4..93144a6 100644 (file)
@@ -326,7 +326,7 @@ if($session)
 
     /* check for solo, add game type to session number */
     echo "    Game $session.$j";
-    if($GT !='normal')
+    if($gamestatus != 'pre' && $GT !='normal' )
       echo " ($GT)";
     if(isset($_SESSION['id']) && $_SESSION['id']==$myid)
       {