summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-05-09 22:32:42 -0700
committerArun Persaud <arun@nubati.net>2012-05-09 22:32:42 -0700
commit4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b (patch)
tree8762fb389e3e49e1c96f0725dc2dacfc7d7e9b02
parent0082bc6dc92a82f37517ea410f8fd29c1b77f01e (diff)
downloade-DoKo-4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b.tar.gz
e-DoKo-4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b.tar.bz2
e-DoKo-4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b.zip
BUGFIX: gametype was displayed in pre-phase of the game
This could give away the type of sickness a player has
-rw-r--r--include/game.php2
1 files changed, 1 insertions, 1 deletions
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)
{