mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
completed save/load
This commit is contained in:
@@ -206,10 +206,12 @@ var Engine = {
|
||||
},
|
||||
|
||||
deleteSave: function() {
|
||||
//var carriedPrestige = $SM.get('previous.stores');
|
||||
if(typeof Storage != 'undefined' && localStorage) {
|
||||
localStorage.clear();
|
||||
}
|
||||
location.reload();
|
||||
//$SM.set('previous.stores',carriedPrestige);
|
||||
},
|
||||
|
||||
share: function() {
|
||||
|
||||
Reference in New Issue
Block a user