X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=30abe7d53687d8600f0c0ef51a6cc57c988e5f66;hp=73353825170470c09aca98186e9ab170d33b1217;hb=522e61d6c5c04dac9c3254ddd2fd7ebb82a1a104;hpb=8413d51c55c34d83798127c9ba39358d86902c51;ds=sidebyside diff --git a/include/game.php b/include/game.php index 7335382..30abe7d 100644 --- a/include/game.php +++ b/include/game.php @@ -610,9 +610,10 @@ switch($mystatus) /* update game status */ cancel_game('nines',$gameid); - echo "The game has been canceled because ".DB_get_name('userid',$nines). - " has five or more nines and nobody is playing solo.\n"; - return; + echo "

The game has been canceled because ".DB_get_name('userid',$nines). + " has five or more nines and nobody is playing solo.

\n"; + echo "\n"; + break; } else if($poverty==1) /* one person has poverty */ { @@ -957,8 +958,8 @@ switch($mystatus) /* update game status */ cancel_game('trump',$gameid); - echo "

Game ".DB_format_gameid($gameid)." has been canceled.

"; - return; + echo "

Game ".DB_format_gameid($gameid)." has been canceled.

"; + break; } else {