projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* FIX: added extra check for calling 120, etc. so that people can't cheat
[e-DoKo.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index 893f916c68271ba1d0151b83ee288969034094e1..997ba43e154af02582aa59ff981015d2e85628fa 100644
(file)
--- 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);
$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++)
$NRallcards = 0;
for ($i=1;$i<5;$i++)