From bd688fc969dfdda43e180db17095733d6f63da56 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 24 Apr 2016 22:17:13 +0200 Subject: Send gold, shop and inventory infos from PHP all at once when requested on loading by client --- craftmine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'craftmine.php') 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(); -- cgit v1.2.3-70-g09d2