Update src/Security/BeamNG.cpp

Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
Winos 2024-12-06 15:02:00 -03:00 committed by GitHub
parent ec1a09bbcb
commit 80a3feb349
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,9 +196,6 @@ void LegitimacyCheck() {
break; break;
} }
} }
if (!libraryFoldersFound) {
throw std::runtime_error("Failed to find libraryfolders.vdf");
}
std::ifstream libraryFolders(libraryFoldersPath); std::ifstream libraryFolders(libraryFoldersPath);
auto root = tyti::vdf::read(libraryFolders); auto root = tyti::vdf::read(libraryFolders);