summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-01-15 18:50:56 -0800
committerArun Persaud <arun@nubati.net>2009-01-15 18:50:56 -0800
commit9ea0c1fc3eb689bc8e0223595d42d2e3ecae4192 (patch)
treed7ee9da715a48b396c3e99db2a41631ec927a337 /include/game.php
parentd39212226664baf71e5af60da3d9cbb0c2990356 (diff)
downloade-DoKo-9ea0c1fc3eb689bc8e0223595d42d2e3ecae4192.tar.gz
e-DoKo-9ea0c1fc3eb689bc8e0223595d42d2e3ecae4192.tar.bz2
e-DoKo-9ea0c1fc3eb689bc8e0223595d42d2e3ecae4192.zip
NEW FEATURE: only show re or contra for calls
makes it clear what you can call in a silent solo. Fixes issue #41.
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/game.php b/include/game.php
index fb807c7..8d07b83 100644
--- a/include/game.php
+++ b/include/game.php
@@ -1968,8 +1968,10 @@ else
echo "<div class=\"gameinfo\">\n";
if($gamestatus == 'play' )
- output_form_calls($me);
-
+ {
+ $myparty = DB_get_party_by_hash($me);
+ output_form_calls($me,$myparty);
+ }
/* get time from the last action of the game */
$r = DB_query_array("SELECT mod_date from Game WHERE id='$gameid' " );
$gameend = time() - strtotime($r[0]);