aboutsummaryrefslogtreecommitdiffstats
path: root/js/savegame.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/savegame.js')
-rw-r--r--js/savegame.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/savegame.js b/js/savegame.js
new file mode 100644
index 0000000..2a83f77
--- /dev/null
+++ b/js/savegame.js
@@ -0,0 +1,7 @@
+function saveGame() {
+ sendRequest("craftmine.php", "op=saveGame");
+}
+
+function downGame() {
+ window.open("craftmine.php?op=downSave", "_blank");
+}