summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-07-04 10:44:52 -0700
committerArun Persaud <arun@nubati.net>2007-07-04 10:44:52 -0700
commit6adb80a6c530cc68eabafc64db8cbbb34b3614d6 (patch)
tree232a1e85a77ba0bd581cf9d0bc86b7cff7567247 /index.php
parent67d441a0c134060e61f840d955b370145d1ac328 (diff)
downloade-DoKo-6adb80a6c530cc68eabafc64db8cbbb34b3614d6.tar.gz
e-DoKo-6adb80a6c530cc68eabafc64db8cbbb34b3614d6.tar.bz2
e-DoKo-6adb80a6c530cc68eabafc64db8cbbb34b3614d6.zip
BUGFIX: cards didn't show up anymore at the end of the game
forgot to check in an if-clause if the player was still playing or if the game was already over
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a41158e..bae38d4 100644
--- 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";