X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=4dbf68f0a6e291dd194c485d8844a4c8aa49bc2b;hp=a90d8b2dea1418bfdd3be82a2461a92a7b216dc0;hb=c956a58882bbfef255af6817d8f21432968ac785;hpb=a40c1ed8a796ad846a254da83a83ae92c3184228 diff --git a/include/game.php b/include/game.php index a90d8b2..4dbf68f 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 "