X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=93144a6e4c9f75e0d8fb87d83f674b7fc98bc2b3;hp=f862fecbbb94aad4f4c86ded1bed245285591d77;hb=de8089a2e706b0d83b8bff90d11559500f1a6711;hpb=1e258af4136567ab30ce9b54aee751077f80590e diff --git a/include/game.php b/include/game.php index f862fec..93144a6 100644 --- a/include/game.php +++ b/include/game.php @@ -326,7 +326,7 @@ if($session) /* check for solo, add game type to session number */ echo " Game $session.$j"; - if($GT !='normal') + if($gamestatus != 'pre' && $GT !='normal' ) echo " ($GT)"; if(isset($_SESSION['id']) && $_SESSION['id']==$myid) { @@ -2086,7 +2086,7 @@ switch($mystatus) /* check if game is over, display results */ if(DB_get_game_status_by_gameid($gameid)=='play') { - echo _('The game is over for you... other people still need to play though'); + $messages[] = _('The game is over for you... other people still need to play though'); } break; default: