Fixed crash when trying to generate trenchbroom game config

This commit is contained in:
Antoine Pilote
2024-09-08 23:16:47 -04:00
parent 7c123e1c0a
commit 13c0fb414d

View File

@@ -45,7 +45,7 @@ namespace NuakeEditor
if (!FileSystem::DirectoryExists(gameConfigFolderPath))
{
FileSystem::MakeDirectory(gameConfigFolderPath);
FileSystem::MakeDirectory(gameConfigFolderPath, true);
}
const std::string& gameConfigFilePath = gameConfigFolderPath + "GameConfig.cfg";