mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
When renaming, don't change extension
This commit is contained in:
@@ -153,7 +153,7 @@ public:
|
||||
utf8 newPath[MAX_PATH];
|
||||
Path::GetDirectory(newPath, sizeof(newPath), path);
|
||||
Path::Append(newPath, sizeof(newPath), newName);
|
||||
Path::Append(newPath, sizeof(newPath), ".td6");
|
||||
Path::Append(newPath, sizeof(newPath), Path::GetExtension(path));
|
||||
|
||||
if (platform_file_move(path, newPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user