summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-03-16 22:06:21 -0700
committerArun Persaud <arun@nubati.net>2009-03-29 10:47:55 -0700
commit6206ef89ad9a9a1a541ecb67971815d11f12199b (patch)
tree86af68a4ce38a5c88d3c491a707b6df8c9ded337 /include/output.php
parent3fd01c7b9fa78fb08ca1ad61c1de850b9a6b9870 (diff)
downloade-DoKo-6206ef89ad9a9a1a541ecb67971815d11f12199b.tar.gz
e-DoKo-6206ef89ad9a9a1a541ecb67971815d11f12199b.tar.bz2
e-DoKo-6206ef89ad9a9a1a541ecb67971815d11f12199b.zip
BUGFIX: store canceled games, don't delete them
deleting the games could result in the same people getting the same hand redealt over and over again. By just keeping track of the hands in the game table, this problem should be gone. Fixed issue #50.
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php
index 231f8f6..94aaa19 100644
--- a/include/output.php
+++ b/include/output.php
@@ -12,7 +12,7 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
global $RULES;
echo "<div class=\"message\">\n<form action=\"index.php?action=new\" method=\"post\">\n";
- echo "Do you want to continue playing?(This will start a new game, with the next person as dealer.)\n";
+ echo "Do you want to continue playing?(This will start a new game, with the $playerD as dealer.)\n";
echo " <input type=\"hidden\" name=\"PlayerA\" value=\"$playerA\" />\n";
echo " <input type=\"hidden\" name=\"PlayerB\" value=\"$playerB\" />\n";
echo " <input type=\"hidden\" name=\"PlayerC\" value=\"$playerC\" />\n";