summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-04-10 08:58:23 +0000
committerarun <arun>2007-04-10 08:58:23 +0000
commit4b94fd36ed89060493ac80d89db3c1e304b13623 (patch)
tree6fadfc070a2af690a96b52c2ce2f063d80f51c6b /index.php
parenta0b3efd697ed19fe2bf204868ab5920e4af5d467 (diff)
downloade-DoKo-4b94fd36ed89060493ac80d89db3c1e304b13623.tar.gz
e-DoKo-4b94fd36ed89060493ac80d89db3c1e304b13623.tar.bz2
e-DoKo-4b94fd36ed89060493ac80d89db3c1e304b13623.zip
removed one debug message; added timestamp update for game when playing a card
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index 7addf0e..a0029f0 100644
--- 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"]++;