completed save/load

This commit is contained in:
Vermilingua
2013-10-13 21:39:59 +11:00
parent 1be4d5edc5
commit f952b4def1
3 changed files with 51 additions and 27 deletions
+1 -3
View File
@@ -386,13 +386,11 @@ var Space = {
$('#notifyGradient').attr('style', 'background-color:'+cur+';background:-webkit-' + s + ';background:' + s);
},
complete: function() {
Prestige.save();
backup = $SM.get('previous.stores');
//Prestige.save();
$('#starsContainer').remove();
if(typeof Storage != 'undefined' && localStorage) {
localStorage.clear();
}
$SM.set('previous.stores',backup);
delete window.State;
Engine.options = {};
}