fix 3829
This commit is contained in:
parent
9dff2434ef
commit
4af9a92f76
|
@ -1139,7 +1139,7 @@ bool content_save_state(const char *path, bool save_to_disk, bool autosave)
|
||||||
{
|
{
|
||||||
if (save_to_disk)
|
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
|
/* Before overwritting the savestate file, load it into a buffer
|
||||||
to allow undo_save_state() to work */
|
to allow undo_save_state() to work */
|
||||||
|
|
Loading…
Reference in New Issue