summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-01-14 12:17:06 +0000
committerarun <arun>2007-01-14 12:17:06 +0000
commit08de22eff38ad5fc17174d8515b5eb90e8dc8841 (patch)
tree723da751f7cec1369130cf8cc630501dede3b0d0
parent594f6737e0206bf80b636afa828cc80c21a0945d (diff)
downloade-DoKo-08de22eff38ad5fc17174d8515b5eb90e8dc8841.tar.gz
e-DoKo-08de22eff38ad5fc17174d8515b5eb90e8dc8841.tar.bz2
e-DoKo-08de22eff38ad5fc17174d8515b5eb90e8dc8841.zip
fixed: correct startplayer for solos
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4f60b89..157c7bd 100644
--- a/index.php
+++ b/index.php
@@ -434,7 +434,7 @@ else if(myisset("me"))
$play = array(); /* needed to calculate winner later */
$seq = 1;
- $pos = 0;
+ $pos = DB_get_startplayer_by_gameid($gameid)-1;
$firstcard = ""; /* first card in a trick */
echo "\n<ul class=\"tricks\">\n";