diff options
author | alexichi <alexbankai96@gmail.com> | 2016-04-24 14:06:14 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-04-24 14:06:14 +0200 |
commit | 743cbaa32e6b8564e069f98ff3ea69a0707bad19 (patch) | |
tree | ed508af8a80d8a6b57af34fed9dec8093c191c60 | |
parent | 725c3529c3c2f63998578cfbcb070bdfa3a9ce19 (diff) | |
download | candybox-743cbaa32e6b8564e069f98ff3ea69a0707bad19.tar.gz candybox-743cbaa32e6b8564e069f98ff3ea69a0707bad19.tar.bz2 candybox-743cbaa32e6b8564e069f98ff3ea69a0707bad19.tar.xz candybox-743cbaa32e6b8564e069f98ff3ea69a0707bad19.zip |
nothing special
-rw-r--r-- | inc/mine.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/mine.inc b/inc/mine.inc index 76c0055..7a68237 100644 --- a/inc/mine.inc +++ b/inc/mine.inc @@ -1,7 +1,7 @@ <?php function initCraftMine() { - $_SESSION["mine"] = array("mine" => 0, "gold" => 0, "miners" => 1); + $_SESSION["mine"] = array("mine" => 0, "gold" => 0, "miners" => 0); } function withdrawMine() { @@ -11,7 +11,7 @@ function withdrawMine() { } function sendMine() { - if(empty($_SESSION["mine"])) initMine(); + if(empty($_SESSION["mine"])) initCraftMine(); $mine = $_SESSION["mine"]; echo $mine["gold"]; } |