do not try to create a directory when it exists

This commit is contained in:
Sergio Perez Fernandez
2025-06-12 00:28:14 +02:00
committed by teejusb
parent 93b65a441b
commit 551356e8f2
+1
View File
@@ -663,6 +663,7 @@ bool RageFileManager::DeleteRecursive( const RString &sPath )
void RageFileManager::CreateDir( const RString &sDir )
{
if (DoesFileExist(sDir)) return;
RString sTempFile = sDir + "newdir.temp.newdir";
RageFile f;
f.Open( sTempFile, RageFile::WRITE );