diff options
author | piernov <piernov@piernov.org> | 2016-04-27 20:53:43 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-04-27 20:53:43 +0200 |
commit | 807e528d6a1ae40ab118f711fe2e8c2bb7df915a (patch) | |
tree | 1d4fbde95ff281d5bb628dcc545401146e26ff15 /js | |
parent | 2b0a84a41eeb90094d42c3c516bf99837d08a745 (diff) | |
parent | caf62cfe0e439fc13f7c297954c4aeb21112a2ec (diff) | |
download | candybox-807e528d6a1ae40ab118f711fe2e8c2bb7df915a.tar.gz candybox-807e528d6a1ae40ab118f711fe2e8c2bb7df915a.tar.bz2 candybox-807e528d6a1ae40ab118f711fe2e8c2bb7df915a.tar.xz candybox-807e528d6a1ae40ab118f711fe2e8c2bb7df915a.zip |
Merge branch 'feat/savegame' into piernov
Diffstat (limited to 'js')
-rw-r--r-- | js/craftmine.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/craftmine.js b/js/craftmine.js index 28583dd..8af8296 100644 --- a/js/craftmine.js +++ b/js/craftmine.js @@ -62,6 +62,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(); |