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:
+1
-3
@@ -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 = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user