Server side simulator using v8 (loads *.js so far)

This commit is contained in:
Eric Fredricksen
2010-07-14 16:48:17 -07:00
parent b8007c8273
commit 3bd9e90edc
3 changed files with 96 additions and 6 deletions
+1 -2
View File
@@ -1083,7 +1083,7 @@ function LoadGame(sheet) {
$.each([Plots,Quests], function () {
this.rows().find("input:checkbox").not(':last').attr("checked", "true");
});
Log('Loaded game: ' + name);
Log('Loaded game: ' + game.Traits.Name);
if (!game.elapsed)
Brag('start');
StartTimer();
@@ -1099,7 +1099,6 @@ $(window).unload(function (event) {
SaveGame();
});
function GameSaveName() {
if (!game.saveName) {
game.saveName = Get(Traits, 'Name');