summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-09-22 09:18:02 -0700
committerArun Persaud <arun@nubati.net>2012-09-22 09:18:02 -0700
commitc357374d55e0e9b779e8a3cb9b42eb52409f6ffe (patch)
treeeb683646f95815c14c5c2121513a12d4df51baff /include
parent101f97a3fb44a299efaa8cad9b6d8480c06ba0c0 (diff)
downloade-DoKo-c357374d55e0e9b779e8a3cb9b42eb52409f6ffe.tar.gz
e-DoKo-c357374d55e0e9b779e8a3cb9b42eb52409f6ffe.tar.bz2
e-DoKo-c357374d55e0e9b779e8a3cb9b42eb52409f6ffe.zip
BUGIFX: leaked silent solo information in game type
Diffstat (limited to 'include')
-rw-r--r--include/game.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/game.php b/include/game.php
index ec1be12..4fa950c 100644
--- a/include/game.php
+++ b/include/game.php
@@ -71,7 +71,10 @@ $GT = $gametype;
if($gametype=='solo')
{
$gametype = DB_get_solo_by_gameid($gameid);
- $GT = $gametype.' '.$GT;
+ if($gametype=='silent')
+ $GT = 'normal';
+ else
+ $GT = $gametype.' '.$GT;
}
/* do we need to worry about Schweinchen?