diff --git a/src/Hook/Hooks_Package.cpp b/src/Hook/Hooks_Package.cpp index a5e1539..e5ef135 100644 --- a/src/Hook/Hooks_Package.cpp +++ b/src/Hook/Hooks_Package.cpp @@ -97,7 +97,6 @@ namespace { bool result = oCheckAppOwnership(pObj, appId, pOwn); TryInitFakeLicenseOnce(); - // LOG_PACKAGE_TRACE("CheckAppOwnership: AppId={} result={} {}", appId, result, pOwn->DebugString()); if (LuaConfig::HasDepot(appId,false)) { if (result && pOwn->ExistInPackageNums > 1) { // Actually owned — record so HasDepot excludes it going forward @@ -106,6 +105,7 @@ namespace { } else { pOwn->PackageId = kInjectedPackageId; pOwn->ReleaseState = EAppReleaseState::Released; + pOwn->bOwnsLicense = true; //This forces DLCs on steam family shared games that u dont own when adding their appid via .lua // Setting this free flag to false will hide it from the library UI. pOwn->bFreeLicense = false; return true;