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 5adbff4120d97811ed0b34b8edaa6d626b8adca7..93144a6e4c9f75e0d8fb87d83f674b7fc98bc2b3 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)
       {