mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-07-03 09:42:13 +08:00
Fixing whitespace conformity in space.js
This commit is contained in:
+31
-32
@@ -409,39 +409,38 @@ var Space = {
|
|||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
Engine.GAME_OVER = true;
|
Engine.GAME_OVER = true;
|
||||||
|
Score.save();
|
||||||
|
Prestige.save();
|
||||||
|
|
||||||
Score.save();
|
$('<center>')
|
||||||
Prestige.save();
|
.addClass('centerCont')
|
||||||
|
.appendTo('body');
|
||||||
$('<center>')
|
$('<span>')
|
||||||
.addClass('centerCont')
|
.addClass('endGame')
|
||||||
.appendTo('body');
|
.text(_('score for this game: {0}', Score.calculateScore()))
|
||||||
$('<span>')
|
.appendTo('.centerCont')
|
||||||
.addClass('endGame')
|
.animate({opacity:1},1500);
|
||||||
.text(_('score for this game: {0}', Score.calculateScore()))
|
$('<br />')
|
||||||
.appendTo('.centerCont')
|
.appendTo('.centerCont');
|
||||||
.animate({opacity:1},1500);
|
$('<span>')
|
||||||
$('<br />')
|
.addClass('endGame')
|
||||||
.appendTo('.centerCont');
|
.text(_('total score: {0}', Prestige.get().score))
|
||||||
$('<span>')
|
.appendTo('.centerCont')
|
||||||
.addClass('endGame')
|
.animate({opacity:1},1500);
|
||||||
.text(_('total score: {0}', Prestige.get().score))
|
$('<br />')
|
||||||
.appendTo('.centerCont')
|
.appendTo('.centerCont');
|
||||||
.animate({opacity:1},1500);
|
$('<br />')
|
||||||
$('<br />')
|
.appendTo('.centerCont');
|
||||||
.appendTo('.centerCont');
|
$('#starsContainer').remove();
|
||||||
$('<br />')
|
$('#content, #notifications').remove();
|
||||||
.appendTo('.centerCont');
|
$('<span>')
|
||||||
$('#starsContainer').remove();
|
.addClass('endGame endGameRestart')
|
||||||
$('#content, #notifications').remove();
|
.text(_('restart.'))
|
||||||
$('<span>')
|
.click(Engine.confirmDelete)
|
||||||
.addClass('endGame endGameRestart')
|
.appendTo('.centerCont')
|
||||||
.text(_('restart.'))
|
.animate({opacity:1},1500);
|
||||||
.click(Engine.confirmDelete)
|
Engine.options = {};
|
||||||
.appendTo('.centerCont')
|
Engine.deleteSave(true);
|
||||||
.animate({opacity:1},1500);
|
|
||||||
Engine.options = {};
|
|
||||||
Engine.deleteSave(true);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, 2000);
|
}, 2000);
|
||||||
|
|||||||
Reference in New Issue
Block a user