From c61b826c7cee9145275442848f92aeb4b6d10d08 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Wed, 24 Sep 2008 22:45:15 -0700 Subject: BUGFIX: schweinchen wasn't accounted for in a wedding (issue #25) forgot to add wedding to list of games that need to be checked for schweinchen. Signed-off-by: Arun Persaud --- include/game.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/game.php b/include/game.php index 3c1b68e..06d75f3 100644 --- a/include/game.php +++ b/include/game.php @@ -65,7 +65,7 @@ if( $gamestatus == 'pre' ) else { /* in a game Schweinchen is not valid in all types of games */ - if( $gametype == 'normal' || $gametype == 'silent' || $gametype=='trump' ) + if( $gametype == 'normal' || $gametype == 'silent' || $gametype=='trump' || $gametype=='wedding') if( in_array($RULES['schweinchen'],array('both','second','secondaftercall')) ) $ok=1; } -- cgit v1.2.3-18-g5258