diff --git a/script/space.js b/script/space.js
index efd9afb..7cb8ffd 100644
--- a/script/space.js
+++ b/script/space.js
@@ -409,39 +409,38 @@ var Space = {
},
complete: function() {
Engine.GAME_OVER = true;
-
- Score.save();
- Prestige.save();
-
- $('
')
- .addClass('centerCont')
- .appendTo('body');
- $('')
- .addClass('endGame')
- .text(_('score for this game: {0}', Score.calculateScore()))
- .appendTo('.centerCont')
- .animate({opacity:1},1500);
- $('
')
- .appendTo('.centerCont');
- $('')
- .addClass('endGame')
- .text(_('total score: {0}', Prestige.get().score))
- .appendTo('.centerCont')
- .animate({opacity:1},1500);
- $('
')
- .appendTo('.centerCont');
- $('
')
- .appendTo('.centerCont');
- $('#starsContainer').remove();
- $('#content, #notifications').remove();
- $('')
- .addClass('endGame endGameRestart')
- .text(_('restart.'))
- .click(Engine.confirmDelete)
- .appendTo('.centerCont')
- .animate({opacity:1},1500);
- Engine.options = {};
- Engine.deleteSave(true);
+ Score.save();
+ Prestige.save();
+
+ $('')
+ .addClass('centerCont')
+ .appendTo('body');
+ $('')
+ .addClass('endGame')
+ .text(_('score for this game: {0}', Score.calculateScore()))
+ .appendTo('.centerCont')
+ .animate({opacity:1},1500);
+ $('
')
+ .appendTo('.centerCont');
+ $('')
+ .addClass('endGame')
+ .text(_('total score: {0}', Prestige.get().score))
+ .appendTo('.centerCont')
+ .animate({opacity:1},1500);
+ $('
')
+ .appendTo('.centerCont');
+ $('
')
+ .appendTo('.centerCont');
+ $('#starsContainer').remove();
+ $('#content, #notifications').remove();
+ $('')
+ .addClass('endGame endGameRestart')
+ .text(_('restart.'))
+ .click(Engine.confirmDelete)
+ .appendTo('.centerCont')
+ .animate({opacity:1},1500);
+ Engine.options = {};
+ Engine.deleteSave(true);
}
});
}, 2000);