mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-03 22:25:33 +02:00
Merge pull request #201 from universal963/patch-sdk162-fix1
Fix `GetItemState()`
This commit is contained in:
commit
da4feab3b8
1 changed files with 8 additions and 2 deletions
|
@ -1462,8 +1462,14 @@ uint32 Steam_UGC::GetItemState( PublishedFileId_t nPublishedFileID )
|
|||
}
|
||||
|
||||
if (ugc_bridge->has_subbed_mod(nPublishedFileID)) {
|
||||
PRINT_DEBUG(" mod is subscribed and installed");
|
||||
return k_EItemStateInstalled | k_EItemStateSubscribed;
|
||||
if (subscribed_disabled.count(nPublishedFileID)) {
|
||||
PRINT_DEBUG(" mod is subscribed but disabled");
|
||||
return k_EItemStateDisabledLocally | k_EItemStateSubscribed;
|
||||
}
|
||||
else {
|
||||
PRINT_DEBUG(" mod is subscribed and installed");
|
||||
return k_EItemStateInstalled | k_EItemStateSubscribed;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue