aboutsummaryrefslogtreecommitdiffstats
path: root/inc/mine.inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mine.inc')
-rw-r--r--inc/mine.inc4
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"];
}