summaryrefslogtreecommitdiffstats
path: root/functions.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-06-07 18:09:08 +0000
committerarun <arun>2007-06-07 18:09:08 +0000
commite68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541 (patch)
tree2854695034eba9e832ba486bc8443ffa3a4383a2 /functions.php
parent337229f87e4507dd1ea9fa80cfc981f19822b726 (diff)
downloade-DoKo-e68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541.tar.gz
e-DoKo-e68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541.tar.bz2
e-DoKo-e68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541.zip
* FIX: added extra check for calling 120, etc. so that people can't cheat
* NEW: display sessions * NEW: display who's turn it is on the userpage (change in DB) * NEW: different ways when to say 90, 60, etc. (change in DB) * MISC: some clean up, e.g. display of final score
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 893f916..997ba43 100644
--- a/functions.php
+++ b/functions.php
@@ -656,7 +656,7 @@ function can_call($what,$hash)
$gameid = DB_get_gameid_by_hash($hash);
$gametype = DB_get_gametype_by_gameid($gameid);
- $NRcards = count(DB_get_hand($me));
+ $NRcards = count(DB_get_hand($hash));
$NRallcards = 0;
for ($i=1;$i<5;$i++)