From 1158d2063f00f38de19a4600566b244a942d86ba Mon Sep 17 00:00:00 2001 From: piernov Date: Tue, 10 May 2016 23:40:17 +0200 Subject: Add reset current game button --- inc/craftmine.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') 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(); +} + ?> -- cgit v1.2.3-70-g09d2