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=cafa02658c6e308bc86a60fd65564dff18078de2;hb=455372db985024563b26bfa5af9c91b2a8e53c06;hpb=9a24b6e93516e8ae21abe625b3364814d191c297 diff --git a/include/game.php b/include/game.php index cafa026..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 { @@ -239,7 +242,7 @@ if($session) if($finalscore) { - echo "Score: \n"; + echo _('Score').": \n"; foreach($finalscore as $user=>$value) { $name = DB_get_name('userid',$user); @@ -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