From 13c0fb414d90a4b94cefd9f70e1066f9db209bf2 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sun, 8 Sep 2024 23:16:47 -0400 Subject: [PATCH] Fixed crash when trying to generate trenchbroom game config --- Editor/src/Commands/Commands/Commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/Commands/Commands/Commands.cpp b/Editor/src/Commands/Commands/Commands.cpp index e50d9ba9..46829eb6 100644 --- a/Editor/src/Commands/Commands/Commands.cpp +++ b/Editor/src/Commands/Commands/Commands.cpp @@ -45,7 +45,7 @@ namespace NuakeEditor if (!FileSystem::DirectoryExists(gameConfigFolderPath)) { - FileSystem::MakeDirectory(gameConfigFolderPath); + FileSystem::MakeDirectory(gameConfigFolderPath, true); } const std::string& gameConfigFilePath = gameConfigFolderPath + "GameConfig.cfg";