fix 3829
This commit is contained in:
parent
9dff2434ef
commit
4af9a92f76
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ bool content_save_state(const char *path, bool save_to_disk, bool autosave)
|
|||
{
|
||||
if (save_to_disk)
|
||||
{
|
||||
if (path_file_exists(path))
|
||||
if (path_file_exists(path) && !autosave)
|
||||
{
|
||||
/* Before overwritting the savestate file, load it into a buffer
|
||||
to allow undo_save_state() to work */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue