diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 56979edd..2b85a09f 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -412,7 +412,7 @@ namespace boss { void Game::CreateBOSSGameFolder() { //Make sure that the BOSS game path exists. try { - if (!fs::exists(g_path_local / bossFolderName)) + if (fs::exists(g_path_local) && !fs::exists(g_path_local / bossFolderName)) fs::create_directory(g_path_local / bossFolderName); } catch (fs::filesystem_error& e) { BOOST_LOG_TRIVIAL(error) << "Could not create BOSS folder for game. Details: " << e.what();