From 4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b Mon Sep 17 00:00:00 2001
From: Arun Persaud <arun@nubati.net>
Date: Wed, 9 May 2012 22:32:42 -0700
Subject: BUGFIX: gametype was displayed in pre-phase of the game

This could give away the type of sickness a player has
---
 include/game.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include')

diff --git a/include/game.php b/include/game.php
index 5adbff4..93144a6 100644
--- a/include/game.php
+++ b/include/game.php
@@ -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)
       {
-- 
cgit v1.2.3-18-g5258