From 743cbaa32e6b8564e069f98ff3ea69a0707bad19 Mon Sep 17 00:00:00 2001 From: alexichi Date: Sun, 24 Apr 2016 14:06:14 +0200 Subject: nothing special --- inc/mine.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') 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 @@ 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"]; } -- cgit v1.2.3-70-g09d2