BUGFIX: cards didn't show up anymore at the end of the game
[e-DoKo.git] / index.php
index a41158e854355455776b1fafe3795fb1a80493f8..bae38d4c778adcc6bc72563167053b79cb9a5042 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1532,7 +1532,7 @@ else if(myisset("me"))
       $mycards = mysort($mycards,$gametype);
       echo "<div class=\"mycards\">\n";
       
-      if($myturn && !myisset("card"))
+      if($myturn && !myisset("card") && $mystatus=='play' )
        {
          echo "Hello ".$myname.", it's your turn!  <br />\n";
          echo "Your cards are: <br />\n";