mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-04 14:45:32 +02:00
Fix GetItemState()
This commit is contained in:
parent
d74e90313c
commit
298c40ea22
1 changed files with 8 additions and 2 deletions
|
@ -1462,9 +1462,15 @@ uint32 Steam_UGC::GetItemState( PublishedFileId_t nPublishedFileID )
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ugc_bridge->has_subbed_mod(nPublishedFileID)) {
|
if (ugc_bridge->has_subbed_mod(nPublishedFileID)) {
|
||||||
|
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");
|
PRINT_DEBUG(" mod is subscribed and installed");
|
||||||
return k_EItemStateInstalled | k_EItemStateSubscribed;
|
return k_EItemStateInstalled | k_EItemStateSubscribed;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
PRINT_DEBUG(" mod is not subscribed");
|
PRINT_DEBUG(" mod is not subscribed");
|
||||||
|
|
Loading…
Add table
Reference in a new issue