aboutsummaryrefslogtreecommitdiffstats
path: root/inc/craftmine.inc
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-10 23:40:17 +0200
committerpiernov <piernov@piernov.org>2016-05-10 23:40:17 +0200
commit1158d2063f00f38de19a4600566b244a942d86ba (patch)
tree5ada3489d5a7651f978623b8809a9cbcbff180ad /inc/craftmine.inc
parent21aedf3aec9de4f87c8598b32a2a0b1c18a0c43d (diff)
downloadcandybox-1158d2063f00f38de19a4600566b244a942d86ba.tar.gz
candybox-1158d2063f00f38de19a4600566b244a942d86ba.tar.bz2
candybox-1158d2063f00f38de19a4600566b244a942d86ba.tar.xz
candybox-1158d2063f00f38de19a4600566b244a942d86ba.zip
Add reset current game buttonHEADmaster
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();
+}
+
?>