From a06470cb70df5651bcdf70799fc9ed69027c3743 Mon Sep 17 00:00:00 2001 From: Winos <42523848+Johnny-Connor@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:02:07 -0300 Subject: [PATCH] Update src/Security/BeamNG.cpp Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com> --- src/Security/BeamNG.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Security/BeamNG.cpp b/src/Security/BeamNG.cpp index f60311f..31faa86 100644 --- a/src/Security/BeamNG.cpp +++ b/src/Security/BeamNG.cpp @@ -205,13 +205,6 @@ void LegitimacyCheck() { break; } } - if (GameDir.empty()) { - // Check if user is using Snap, which can't be located from libraryFolders... - const std::string snapPath = - homeDir + "/snap/steam/common/.local/share/Steam/steamapps/common/BeamNG.drive/"; - - if (std::filesystem::exists(snapPath)) GameDir = snapPath; - } #endif } std::string CheckVer(const std::string& dir) {