X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=d691c7f0b92147c0ddd7864103b4c38e3afcce35;hp=aa2561699b15a43a74ec8b26f30b69da056b43ed;hb=455372db985024563b26bfa5af9c91b2a8e53c06;hpb=cc2084d8da26e9186cc671abd0651522409d797f diff --git a/include/game.php b/include/game.php index aa25616..d691c7f 100644 --- a/include/game.php +++ b/include/game.php @@ -79,6 +79,9 @@ if( $gamestatus == 'pre' ) { /* always need to use Schweinchen to figure out for example who has poverty */ $ok=1; + /* unless the gametype is set and we know that we are in poverty were schweinchen is not valid */ + if( in_array( $gametype,array('poverty','dpoverty') )) + $ok=0; } else { @@ -326,6 +329,7 @@ switch($mystatus) { /* asks the player, if he wants to join the game */ output_check_want_to_play($me); + echo '
'; break; } else @@ -520,6 +524,7 @@ switch($mystatus) /* move on to the next stage*/ DB_set_hand_status_by_hash($me,'check'); + $mystatus='check'; }; }; @@ -531,7 +536,7 @@ switch($mystatus) $mycards = DB_get_hand($me); $mycards = mysort($mycards,$gametype); - /* output sickness of other playes, in case the already selected and are sitting in front of the current player */ + /* output sickness of other playes, in case they already selected and are sitting in front of the current player */ echo "\n