This commit is contained in:
radius 2017-05-09 22:10:46 -05:00
parent 9dff2434ef
commit 4af9a92f76

View File

@ -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 */