mirror of https://github.com/OpenRCT2/OpenRCT2.git
use track rather than tracks for user directory
This commit is contained in:
parent
a76a76a4b5
commit
87d4a9dab9
|
@ -266,7 +266,7 @@ static void track_design_index_scan()
|
|||
track_design_index_include(directory);
|
||||
|
||||
// Get track directory from user directory
|
||||
platform_get_user_directory(directory, "tracks");
|
||||
platform_get_user_directory(directory, "track");
|
||||
track_design_index_include(directory);
|
||||
|
||||
// Sort items by ride type then by filename
|
||||
|
|
|
@ -160,7 +160,7 @@ bool track_design_save(uint8 rideIndex)
|
|||
|
||||
// Default location
|
||||
utf8 path[MAX_PATH];
|
||||
platform_get_user_directory(path, "tracks");
|
||||
platform_get_user_directory(path, "track");
|
||||
strcat(path, track_name);
|
||||
strcat(path, ".td6");
|
||||
|
||||
|
|
|
@ -382,7 +382,7 @@ static void window_install_track_design(rct_window *w)
|
|||
{
|
||||
utf8 destPath[MAX_PATH];
|
||||
|
||||
platform_get_user_directory(destPath, "tracks");
|
||||
platform_get_user_directory(destPath, "track");
|
||||
if (!platform_ensure_directory_exists(destPath)) {
|
||||
log_error("Unable to create directory '%s'", destPath);
|
||||
window_error_open(STR_CANT_SAVE_TRACK_DESIGN, STR_NONE);
|
||||
|
|
Loading…
Reference in New Issue