BUGIFX: more accurate display of whos turn it is
[e-DoKo.git] / include / game.php
index 7905acd63a00a9d1e5ae7619711e5a0d520e85a7..b8a2fcb2dc2e88c4b6e187a2ce264aff35c7e836 100644 (file)
@@ -189,6 +189,7 @@ switch($mystatus)
                    /* whos turn is it? */
                    DB_set_player_by_gameid($gameid,$user);
                    $ok = 0;
+                   break;
                  }
              };
            if($ok)
@@ -380,6 +381,7 @@ switch($mystatus)
          {
            $ok = 0;
            DB_set_player_by_gameid($gameid,$user);
+           break;
          }
       };
 
@@ -907,6 +909,7 @@ switch($mystatus)
              {
                $ok = 0;
                DB_set_player_by_gameid($gameid,$user);
+               break;
              }
          }
        if($ok)