summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-09-24 22:45:15 -0700
committerArun Persaud <arun@nubati.net>2008-09-24 22:45:15 -0700
commitc61b826c7cee9145275442848f92aeb4b6d10d08 (patch)
tree45c33d2670aca90a8e9f25734048dee62768d1c3
parentca3071da712685fd941f97d3610bad8635bf9c5c (diff)
downloade-DoKo-c61b826c7cee9145275442848f92aeb4b6d10d08.tar.gz
e-DoKo-c61b826c7cee9145275442848f92aeb4b6d10d08.tar.bz2
e-DoKo-c61b826c7cee9145275442848f92aeb4b6d10d08.zip
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 <arun@nubati.net>
-rw-r--r--include/game.php2
1 files changed, 1 insertions, 1 deletions
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;
}