autosave from game fix

This commit is contained in:
p.kosyh 2009-11-14 18:12:33 +00:00
parent 1f8801a9f0
commit 402b311c80
2 changed files with 1 additions and 2 deletions

View file

@ -1010,7 +1010,7 @@ static void game_autosave(void)
if (b) {
r = r % MAX_SAVE_SLOTS;
game_save(r);
/* instead_eval("game.autosave = false;"); instead_clear(); */
instead_eval("game.autosave = false;"); instead_clear();
}
}

View file

@ -1291,7 +1291,6 @@ end
function isEnableSave()
if game.enable_save == nil or get_autosave() then
game.autosave = false -- we have only one try for autosave ;)
return true
end
return call_bool(game, 'enable_save');