removed one debug message; added timestamp update for game when playing a card
[e-DoKo.git] / index.php
index 7addf0ef375a7f371238ffda434f372b3c2fbef9..a0029f091ca82b292c67a5558770aed20af5ddd4 100644 (file)
--- a/index.php
+++ b/index.php
@@ -790,9 +790,11 @@ else if(myisset("me"))
              /* mark card as played */
              mysql_query("UPDATE Hand_Card SET played='true' WHERE hand_id='$handid' AND card_id=".
                          DB_quote_smart($card));
-             
+             /* update Game timestamp */
+             DB_update_game_timestamp($gameid);
+
              /* check for schweinchen */
-             echo "schweinchen = ".$GAME["schweinchen"]." --$card-<br />";
+             //echo "schweinchen = ".$GAME["schweinchen"]." --$card-<br />";
              if($card == 19 || $card == 20 )
                {
                  $GAME["schweinchen"]++;