fixed: correct startplayer for solos
[e-DoKo.git] / index.php
index 4f60b89ca0f396b7433857e614a29d8daf63282a..157c7bdc8a30b7fdce115e8bef76a36ccafa053d 100644 (file)
--- 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";