aboutsummaryrefslogtreecommitdiffstats
path: root/js/craftmine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/craftmine.js')
-rw-r--r--js/craftmine.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index 92fa45a..13dd0a2 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -60,6 +60,14 @@ function updateMine() {
updateData("mine");
}
+function saveGame() {
+ sendRequest("craftmine.php", "op=saveGame");
+}
+
+function downGame() {
+ window.open("craftmine.php?op=downGame", "_blank");
+}
+
function init() {
initCraftMine();
changeTab();