diff --git a/contributors.md b/contributors.md index 008f8f89c1..0f0a12ec06 100644 --- a/contributors.md +++ b/contributors.md @@ -180,6 +180,7 @@ The following people are not part of the development team, but have been contrib * Soham Roy (sohamroy19) * Gaven Rendell (Rendello) * Christian Haase (chrhaase) +* Cory Sanin (CorySanin) ## Toolchain * (Balletie) - macOS diff --git a/src/openrct2/Game.cpp b/src/openrct2/Game.cpp index 9eac22f2fb..7113a7e4e7 100644 --- a/src/openrct2/Game.cpp +++ b/src/openrct2/Game.cpp @@ -619,7 +619,7 @@ void save_game_cmd(const utf8* name /* = nullptr */) char savePath[MAX_PATH]; platform_get_user_directory(savePath, "save", sizeof(savePath)); safe_strcat_path(savePath, name, sizeof(savePath)); - path_append_extension(savePath, ".sv6", sizeof(savePath)); + path_append_extension(savePath, ".park", sizeof(savePath)); save_game_with_name(savePath); } } @@ -662,7 +662,7 @@ static void limit_autosave_count(const size_t numberOfFilesToKeep, bool processL auto environment = GetContext()->GetPlatformEnvironment(); auto folderDirectory = environment->GetDirectoryPath(DIRBASE::USER, DIRID::SAVE); - char const* fileFilter = "autosave_*.sv6"; + char const* fileFilter = "autosave_*.park"; if (processLandscapeFolder) { folderDirectory = environment->GetDirectoryPath(DIRBASE::USER, DIRID::LANDSCAPE); @@ -723,7 +723,7 @@ static void limit_autosave_count(const size_t numberOfFilesToKeep, bool processL void game_autosave() { const char* subDirectory = "save"; - const char* fileExtension = ".sv6"; + const char* fileExtension = ".park"; uint32_t saveFlags = 0x80000000; if (gScreenFlags & SCREEN_FLAGS_EDITOR) { diff --git a/src/openrct2/scenario/Scenario.cpp b/src/openrct2/scenario/Scenario.cpp index 53f973fe3e..74566fb116 100644 --- a/src/openrct2/scenario/Scenario.cpp +++ b/src/openrct2/scenario/Scenario.cpp @@ -134,7 +134,7 @@ void scenario_begin() char savePath[MAX_PATH]; platform_get_user_directory(savePath, "save", sizeof(savePath)); safe_strcat_path(savePath, park.Name.c_str(), sizeof(savePath)); - path_append_extension(savePath, ".sv6", sizeof(savePath)); + path_append_extension(savePath, ".park", sizeof(savePath)); gScenarioSavePath = savePath; gCurrentExpenditure = 0;