UltraRogue: don't overwrite the savefile name when restoring.

This commit is contained in:
John "Elwin" Edwards 2017-02-09 20:13:25 -05:00
parent 403d9ec171
commit 7b42d453f0

View file

@ -1433,7 +1433,7 @@ restore_file(FILE *savef)
strcpy(fruit,str);
ur_free(str);
str = ur_read_string(savef);
strcpy(file_name,str);
// The file_name stored in the file no longer replaces its actual name.
ur_free(str);
str = ur_read_string(savef);
strcpy(score_file,str);