Skip to content
Snippets Groups Projects
Commit 9f8c1b82 authored by deuce's avatar deuce
Browse files

Fix backup file generation.

parent 4478bcbd
No related branches found
No related tags found
No related merge requests found
......@@ -858,7 +858,7 @@ function main(argc, argv)
exit(9);
}
filename = format(filename, GAMEBAK, gen);
filename = format(GAMEBAK, gen);
if(file_exists(game_dir+'/'+GAMESAVE) && !file_rename(game_dir+'/'+GAMESAVE, game_dir+'/'+filename)) {
print("Can't Rename Game Save\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment