aboutsummaryrefslogtreecommitdiffstats
path: root/craftmine.php
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-04-24 22:17:13 +0200
committerpiernov <piernov@piernov.org>2016-04-24 22:17:13 +0200
commitbd688fc969dfdda43e180db17095733d6f63da56 (patch)
tree29054f1a642e6dead044236c835483a4ef24c3d7 /craftmine.php
parent9b618abd14b69bd56e64bd998de8f9ccb722fba7 (diff)
downloadcandybox-bd688fc969dfdda43e180db17095733d6f63da56.tar.gz
candybox-bd688fc969dfdda43e180db17095733d6f63da56.tar.bz2
candybox-bd688fc969dfdda43e180db17095733d6f63da56.tar.xz
candybox-bd688fc969dfdda43e180db17095733d6f63da56.zip
Send gold, shop and inventory infos from PHP all at once when requested on loading by client
Diffstat (limited to 'craftmine.php')
-rw-r--r--craftmine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/craftmine.php b/craftmine.php
index c5f09be..869c83a 100644
--- a/craftmine.php
+++ b/craftmine.php
@@ -35,7 +35,7 @@ if (!isset($_POST["op"])) {
$op = $_POST["op"];
switch($op) {
case "withdrawMine": withdrawMine(); break;
- case "getCraftMine": sendMine(); break;
+ case "getCraftMine": sendCraftMine(); break;
case "buildShop": buildShop(); break;
case "buyItem": buyItem(); break;
default: reportBadRequest();