summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/game.php b/include/game.php
index a90d8b2..7905acd 100644
--- a/include/game.php
+++ b/include/game.php
@@ -98,7 +98,11 @@ if($ok)
}
/* end check for Schweinchen */
-set_gametype($gametype); /* this sets the $CARDS variable */
+/* set the $CARDS variable, needed for sorting the cards
+ * we set it to normal so that the pre-game phase is handled ok
+ * and later set it to the correct game type that is played
+ */
+set_gametype('normal');
/* put everyting in a form */
echo "<form action=\"index.php?action=game&me=$me\" method=\"post\">\n";