diff options
author | Arun Persaud <arun@nubati.net> | 2007-07-04 10:44:52 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-07-04 10:44:52 -0700 |
commit | 6adb80a6c530cc68eabafc64db8cbbb34b3614d6 (patch) | |
tree | 232a1e85a77ba0bd581cf9d0bc86b7cff7567247 | |
parent | 67d441a0c134060e61f840d955b370145d1ac328 (diff) | |
download | e-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
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |