summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/game.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/game.php b/include/game.php
index d573503..18d5819 100644
--- a/include/game.php
+++ b/include/game.php
@@ -79,6 +79,9 @@ if( $gamestatus == 'pre' )
{
/* always need to use Schweinchen to figure out for example who has poverty */
$ok=1;
+ /* unless the gametype is set and we know that we are in poverty were schweinchen is not valid */
+ if( in_array( $gametype,array('poverty','dpoverty') ))
+ $ok=0;
}
else
{