From: Arun Persaud Date: Thu, 25 Sep 2008 05:45:15 +0000 (-0700) Subject: BUGFIX: schweinchen wasn't accounted for in a wedding (issue #25) X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61b826c7cee9145275442848f92aeb4b6d10d08;p=e-DoKo.git 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 --- 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; }