autosave from game fix
This commit is contained in:
parent
1f8801a9f0
commit
402b311c80
|
@ -1010,7 +1010,7 @@ static void game_autosave(void)
|
||||||
if (b) {
|
if (b) {
|
||||||
r = r % MAX_SAVE_SLOTS;
|
r = r % MAX_SAVE_SLOTS;
|
||||||
game_save(r);
|
game_save(r);
|
||||||
/* instead_eval("game.autosave = false;"); instead_clear(); */
|
instead_eval("game.autosave = false;"); instead_clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1291,7 +1291,6 @@ end
|
||||||
|
|
||||||
function isEnableSave()
|
function isEnableSave()
|
||||||
if game.enable_save == nil or get_autosave() then
|
if game.enable_save == nil or get_autosave() then
|
||||||
game.autosave = false -- we have only one try for autosave ;)
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
return call_bool(game, 'enable_save');
|
return call_bool(game, 'enable_save');
|
||||||
|
|
Reference in a new issue