mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-07 08:05:41 +02:00
Fix CreateQueryUserUGCRequest()
This commit is contained in:
parent
a7ec4847ab
commit
753b0d9121
1 changed files with 2 additions and 1 deletions
|
@ -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<std::recursive_mutex> 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue