NEW FEATURE: only show re or contra for calls
[e-DoKo.git] / include / game.php
index fb807c74ed4533da18ccdc4da77e2f8c159e9e14..8d07b839f39042ff2fdf53c7c473f5facc9d695d 100644 (file)
@@ -1968,8 +1968,10 @@ else
 echo "<div class=\"gameinfo\">\n";
 
 if($gamestatus == 'play' )
 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]);
 /* 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]);