From 753b0d91215b59e30afb2969d490b4a895c02bef Mon Sep 17 00:00:00 2001 From: universal963 <36097923+universal963@users.noreply.github.com> Date: Wed, 18 Jun 2025 03:38:09 +0800 Subject: [PATCH] Fix `CreateQueryUserUGCRequest()` --- dll/steam_ugc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/steam_ugc.cpp b/dll/steam_ugc.cpp index cd1e1193..8e02bb04 100644 --- a/dll/steam_ugc.cpp +++ b/dll/steam_ugc.cpp @@ -247,7 +247,8 @@ UGCQueryHandle_t Steam_UGC::CreateQueryUserUGCRequest( AccountID_t unAccountID, PRINT_DEBUG("%u %i %i %i %u %u %u", unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); std::lock_guard lock(global_mutex); - if (nCreatorAppID != settings->get_local_game_id().AppID() || nConsumerAppID != settings->get_local_game_id().AppID()) return k_UGCQueryHandleInvalid; + // TODO: more info needed to decide which UGCs will be returned + // if (nCreatorAppID != settings->get_local_game_id().AppID() || nConsumerAppID != settings->get_local_game_id().AppID()) return k_UGCQueryHandleInvalid; if (unPage < 1) return k_UGCQueryHandleInvalid; if (eListType < 0) return k_UGCQueryHandleInvalid; if (unAccountID != settings->get_local_steam_id().GetAccountID()) return k_UGCQueryHandleInvalid;