aboutsummaryrefslogtreecommitdiffstats
path: root/inc/craftmine.inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc/craftmine.inc')
-rw-r--r--inc/craftmine.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/craftmine.inc b/inc/craftmine.inc
index 7dd5ba4..35a7e18 100644
--- a/inc/craftmine.inc
+++ b/inc/craftmine.inc
@@ -29,4 +29,8 @@ function sendCraftMine() {
echo json_encode($data);
}
+function resetGame() {
+ $_SESSION = array();
+}
+
?>